|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a form which I am using Java Script (no cgi, please) that sends a confirmation page back to the requestor but never generates the email that sends the requested information to me. Can you tell me what I am doing wrong or what is missing?
I have enclosed some of the code... <FORM METHOD=POST ENCTYPE="text/plain" ACTION="mailto:susanreed@home.com ?subject=TESTING Requirements Request Form" > <input type="button" NAME="Submit Form" VALUE="Submit Request" onClick="Locat();return false"> I really need some help on this .... |
|
#2
|
|||
|
|||
|
all you need to do is to change "return false" to "return true". By causing it to return (or complete an action) as 'false' this makes it not return (or Submit the form, in this case) at all. So, setting it as 'true' causes it to follow through with the action you originally wished it to do (sending the form by e-mail). hope you can get this fixed now! CujoRbd |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Java Script to send an email in a form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|