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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dreamweaver

Status
Not open for further replies.

steveyk

Programmer
Joined
Nov 7, 2001
Messages
2
Location
GB
how do you assign an email address to a submit button in dreamweaver to send informations from radio buttons and text fields
 
You have to first create a <form> tag, and inside the form tags have the radio-buttons and text-fields, and also inside the form tag you have the submit button.
Now in the <form> tag, you add this: (to email the form)

<form name=&quot;form1&quot; method=&quot;post&quot; action=mailto:&quot;youremail@address.here?subject=Information.&quot;>

This what the code does: 'form name' is the name of the form, the 'method' is post (need not worry about that), the 'action' is the email address that the form will be mailed to, ...?subject=Information. just means that in the 'subject line' of your email the phrase
'Information' will be seen...
Hope this helps...

NOTE: using this tech. will email the form but all in an concontanation way. if you want the form sbmitted in a clear manner, you need to use .CGI or a .PHP script...
I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top