View previous topic :: View next topic |
Author |
Message |
vincentsbikeshop@hotmail.
Joined: 19 Apr 2007 Posts: 7
|
Posted: Wed Feb 27, 2013 6:43 am Post subject: Form not workking on my site. |
|
|
Hello I have made a form and put the HTML on my site but the submit button does not work. When I press it nothing happens. It should redirect to another page and send me an email but it doesn't do anything like that.
If it helps I can mantion that I am using jetsjop to make my page but I have made another form before that works so I don't know why this wouldn't work.
Here is the form
http://www.vincents.se/mc-formedling-formular-i-106.aspx
Please help I'm sleepy!  |
|
Back to top |
|
 |
mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Wed Feb 27, 2013 7:56 am Post subject: Reply |
|
|
Good Day,
The problem is that you have posted the form code into an already open form tag on your site. This has effectively nesting the form, allowing the first form tag to basically override the myContactForm.com code. If you look at line 23 of your site's source code, you will see:
Code: |
<form method="post" action="/mc-formedling-formular-i-106.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm"> |
This form tag isn't closed until the very end of your document. You need to close the above code with a </form> before inputting the myContactForm.com code.
Nick Ladd
myContactForm.com |
|
Back to top |
|
 |
vincentsbikeshop@hotmail.
Joined: 19 Apr 2007 Posts: 7
|
Posted: Thu Feb 28, 2013 5:51 am Post subject: |
|
|
Thanks I will try this! |
|
Back to top |
|
 |
vincentsbikeshop@hotmail.
Joined: 19 Apr 2007 Posts: 7
|
Posted: Fri Mar 01, 2013 3:13 am Post subject: |
|
|
It still won't work... am I missing something? |
|
Back to top |
|
 |
mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Fri Mar 01, 2013 3:43 am Post subject: |
|
|
vincentsbikeshop@hotmail. wrote: |
It still won't work... am I missing something? |
You have not corrected the issue as I have outlined it above. You need to close the existing form tag on your site (at line 23) before inputting the myContactForm.com code. Try adding a </form> directly before the myContactForm.com code.
Nick Ladd
myContactForm.com |
|
Back to top |
|
 |
|