| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
I am trying to design a simple form for sending data via email in text/form format. When I test the form, clicking the Submit button causes an email to be generated, but the content is blank -- none of the form data is being transmitted! What am I doing wrong?
Here's the code (built using DreamWeaver): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="mailto:htbizdirectory@yahoo.com?subject=test" method="post" enctype="text/plain" name="testform" target="_blank"> <p>name <input name="yourname" type="text"> </p> <p>phone <input name="yourphone" type="text"> </p> <p> <input type="submit" name="Submit" value="Submit"> </p> </form> </body> </html> |
|
#2
|
|||
|
|||
|
Server Type
Do you know if you're on a ASP or PHP based server... there are scripts out there that do much more and can format the output nicely
![]() |
|
#3
|
|||
|
|||
|
the server handles ASP -- I just need to learn a little more about that before implementing it, so I was trying the "quick and dirty" method in the essence of time. Turns out that it must have been a browser problem on my end -- I went to another computer in my house, and it worked okay (the text info from the form was included in the email message).
|
|
#4
|
|||
|
|||
|
Hmm
It could depend on how your email client is setup to receive emails.
Ask your hosting people what ASP scripting they support... you can grab a simple script from www.hotscripts.com or if they are half decent, the hosting company should provide you with a simple form :-) |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > sending data via a form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|