Forums
This topic is locked
Form
Posted 26 Apr 2008 23:15:32
1
has voted
26 Apr 2008 23:15:32 Chris Hoffmann posted:
I have a form that people fill out, when they click on submit, it is sent to email, it goes to a php validation page, which is new window page that says thank you. I want it to submit the form to the email, then go to the new thank you page in the new window, but also clear the values in the original form page when it is submitted so that the page isn't still filled in when they close the "thank you" page new window.Here is the code......
<form action="www.thewebsite.com/app.php" method="post" name="On-Line Application" target="_blank" id="On-Line Application" onsubmit="MM_validateForm 'FirstName','','R','LastName','','R','StateZip','','R','Phone','','R','Email','','R','AttorneyName','','R','AttorneyPhone','','R','AttorneyEmail','','R','InicidentDate','','R','StateOfIncident','','R','Other','','R');return document.MM_returnValue">
<input type=hidden name="subject" value="Online Application">
<input type=hidden name="recipient" value=" ">
Any suggestions? It's probably really simple right?