Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Designing a web form to be sent via e-mail 1

Status
Not open for further replies.

GTRVSPEC

Programmer
Mar 20, 2000
2
GB
How can I design an application form for a web site for 'user details' to be sent to my e-mail.<br>
<br>
Any response greatly received!<br>
<br>
Cheers
 
Hi There, the way to go is to use the form elements (obviously!) in Dreamweaver to create the initial form. So first off go;<br><br>Insert&gt; Form<br><br>Where it says Method make sure it is POST.<br>Now for action put in your desired email address including the mailto command; e.g. mailto:<A HREF="mailto:me@you.com">me@you.com</A><br><br>Now is the important part. Hit F10 to look at your code.<br>Where it says; &lt;FORM method=&quot;post&quot; action=&quot;mailto:<A HREF="mailto:me@you.com">me@you.com</A>&quot;&gt; add this little bit; enctype=&quot;text/plain&quot; as per below;<br>&lt;FORM method=&quot;post&quot; enctype=&quot;text/plain&quot; action=&quot;mailto:<A HREF="mailto:me@you.com">me@you.com</A>&quot;&gt;<br>This will make the results of the forms you get legible.<br>Your Submit button should simply have a value of &quot;submit&quot; the trick to this is in the action (your email address)<br><br>Hope this helps, I wrote this in a bit of a hurry so let me know if it doesn't work and I can email you the code or something.<br><br>Cheers,<br>Scottos
 
Can one specify the subject line by adding &quot;?subject=this%20is%20an%20example&quot; ?<br><br>Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top