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!

submit buttons

Status
Not open for further replies.

steveyk

Programmer
Joined
Nov 7, 2001
Messages
2
Location
GB
How do you assign the behaviour to a submit button that sends information from radio buttons and text fields to your email address
 
You would actually add that to your form tag. You will need access to cgi-bin to add a script at your isp (unless you are the host) as well. Unless they have pre-installed cgi-bin scripts or unless you are the host I don't see how it could be done.

Here is what you would add to the form tag:

<form action=&quot;(Your submit action)&quot; method=&quot;post&quot;>

There are several ways you can do this. If you put mailto:(your address), it will try and use their default mail client to submit it. Plus if you do it this way they have direct viewing of your email address. The best way would be to create a script that would do this for you. Plus you can format the data that is sent to you better.

A really good source for what you can do with the form tag can be found here:


Good luck, and don't forget to vote!
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top