Back to myContactForm.com - Easy email form creation and processing for your web site
myContactForm.com - Help Forum Forum Index myContactForm.com - Help Forum
Have a question that you need answered about myContactForm.com? Post it on this message board but first search this forum and read out FAQ to ensure it has not already been answered. This is not a board to post links to your site! SPAM will be deleted!
 
   Search MessagesSearch Messages
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Submitting Form Does Not Work, Only Refreshes Page

 
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Errors When Submitting Forms
View previous topic :: View next topic  
Author Message
dbanbury



Joined: 26 Mar 2009
Posts: 1

PostPosted: Thu Mar 26, 2009 12:00 pm    Post subject: Submitting Form Does Not Work, Only Refreshes Page Reply with quote

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
View user's profile
mycontac
Site Admin


Joined: 31 Dec 2003
Posts: 2860

PostPosted: Fri Mar 27, 2009 10:27 am    Post subject: Reply Reply with quote

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:

Code:
</form>


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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Errors When Submitting Forms All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group