PDA

View Full Version : Dreamweaver Forms??


Chris IOW
04-25-2006, 12:54 AM
I have made the following form in Dreamweaver. It is set out just perfect. Can someone tell me how I can get the form email to me when a customer presses the submit button? Any Help would be great :)


<form id="form1" name="form1" method="post" action="">
<label><span class="style20">Name</span>
<input name="Name" type="text" />
</label>
<span class="style18">
<label> <strong>Contact Phone No.</strong>
<input name="Phone Number" type="text" />
</label>
</span>
<p class="style18">
<label><strong>Address</strong>
<textarea name="Address" cols="" rows="4"></textarea>
</label>
<label><strong>Adults</strong>
<input name="Adults Staying " type="text" size="3" />
</label>
<label><strong>Children</strong>
<input name="Children Staying" type="text" size="3" />
</label>
</p>
<p class="style18"><strong>Dates wishing to Stay:</strong>
<label>From
<input name="Staying From" type="text" />
</label>
<label>To
<input name="Staying Until" type="text" />
</label>
</p>
<p class="style18">
<label><span class="style21">Submit For Processing</span>
<input name="Submit" type="submit" value="Submit" />
</label>
</p>
</form>

Geordie Boyo
04-30-2006, 08:31 AM
Mate What I would suggest is check out this extension for Dreamweaver

http://www.kaosweaver.com/extensions/details.php?id=69

Its the Kaos Mailer V1.02 which allows you to setup a small piece of PHP code, so when the user hits submit you can then have a THANK YOU for your email page and the email is sent immediately to your email address....
It looks far more professional

If you just want the form simple so when the user clicks the submit button then add the following to your code.

Where at the top of your code you have :
action=""

change it to:

action="mailto:youremailaddress@address.com"

Chris IOW
05-06-2006, 04:43 AM
Just had a little look mate and im not familier with PHP at all. Now when I click the Submit button I get the download box up and it asks me where to save the PHP file too?

Any ideas or am I being Dumb?? :D