This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > May 2007 > Building forms





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Building forms
zoran

2007-04-09, 3:38 am

Im trying to create a customer form field. Simple stuff, where the customer must enter name/adress/notes/ etc. How can i implement this in DW? An how can all this info find its way to the one that wants to receive it, through email perhaps? Have a way to link all this info (customer will enter in the form) to an email account? I dunno just making newby suggestions!
CollinSeigle

2007-05-24, 3:43 am

Put the following code in:

<form action="gdform.php" method="post">
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
<input type="hidden" name="email" value="You@yourname.com" />
<p>First Name:<input type="text" name="FirstName" /></p>
<p>Last Name:<input type="text" name="LastName" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p>Comments:<textarea name="comments" cols="40" rows="10">
Type comments here.</textarea></p>
<input type="submit" name="submit" value="submit"/>
</form>

You be able to edit the boxes that you need but make sure.

Also make sure that your hosting service supports PHP and change the e-mail address in the fourth line to the address that you want it sent to.

Collin
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews