View previous topic :: View next topic |
Author |
Message |
dbanbury
Joined: 26 Mar 2009 Posts: 1
|
Posted: Thu Mar 26, 2009 12:00 pm Post subject: Submitting Form Does Not Work, Only Refreshes Page |
|
|
I was able to get the form embedded on our website just fine, but the form only refreshes the page when I hit Submit to test it out (no confirmation email sent to my test email address and no form received to the form reception address). I'm also not getting the forms through the message center on mycontactform.com so I know they're not going through. I tested this using both Firefox and Internet Explorer, with the same result each time.
I looked through the code and nothing appears out of the ordinary. The form tag is closed, the 'action=' modifier is sending the form to the correct link... any suggestions?
The link to the form is:
http://www.phytotechlab.com/form.aspx
Thanks for any help. |
|
Back to top |
|
 |
mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Fri Mar 27, 2009 10:27 am Post subject: Reply |
|
|
The problem is that you've inserted the myContactForm.com code within another open form tag on your site. Look at your HTML and find the line:
Code: |
<form name="Form2" method="post" action="form.aspx" id="Form2"> |
This appears to be part of your web site template. You need to make sure to close this open tag before inserting the myContactForm.com form. Use this line to close it:
Since you inserted the web form within this open tag, it is basically just submitting the data to form.aspx instead of our form processing script. This is why the page is simply reloading when you click submit.
You might be able to get rid of the line above altogether.
Nick Ladd
myContactForm.com |
|
Back to top |
|
 |
|