|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
What would the code be for a basic form containing 3 text input fields and a submit button that sends it to my e-mail?
|
|
#2
|
|||
|
|||
|
Here you go
Quote:
put the input type"text " 2 more times, obviously you can space them out between them with a <p> or <br> which ever one works for you. Hope it helps Regards, Wacko Wackos Online |
|
#3
|
|||
|
|||
|
Well it created a input field (which i already knew how to do) but when you click the send button nothing happens.
|
|
#4
|
||||
|
||||
|
It was coded to do nothing.
You would need to add an 'Action' to your form. You can do two basic things here to send mail. <Form Method="post" Action="mailto:youremail@hotmail.com?subject=This is the subject for the email"> ' this would then open up outlook (if it is default mail client) with the above e-mail in the 'To' line and the subject, after the ?, in the subject line. OR <Form Method="post" Action="emailPage.asp"> 'this would then open your page called emailPage.asp (or any other name you want) and execute the asp/vbscript code within it. 'This is where you would add a mail component code (CDONTS, CDOSYS ect...) The more favorable method would be the second. Judging from your post you would like the entire code provided to you. I suggest a search on this forum or google. Both have tons of stuff on sending e-mail through forms. Good luck
__________________
__________ Matty. |
|
#5
|
|||
|
|||
|
Quote:
Ok, thank you very much! |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Basic form code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|