86
rated 0 times
[
93]
[
7]
/ answers: 1 / hits: 91651
/ 15 Years ago, thu, september 17, 2009, 12:00:00
I have a very basic form at http://www.happyholidaylites.com/contact.html and it is working great. When you submit the form, the user is brought to the index.html with no message that the form has been sent. I am looking to initiate an alert that says, your form has been submitted with an x button. My code looks like this:
<form method=post id=myForm action=dynaform.php>
<input type='hidden' name='rec_mailto' value='[email protected]'>
<input type='hidden' name='rec_subject' value='New Contact Form'>
<input type='hidden' name='rec_thanks' value='index.html'>
so on and so forth.....
The last line is what is telling the form what to do after the submit button is pressed, but I dont want it to point the browser to the index, rather I want a javascript popup with a success message. Any ideas?
More From » forms