WPRipper
Elite Member
- Mar 24, 2010
- 1,617
- 1,813
Hey guys i really need ur help.
I have a simple form with validation and i want after submit to redirect to a new page. All good so far, but when i add the onclick command the form redirect to the new page wothout validation. Here is the code:
Without redirection
<input type='image' name='Submit' id='hash_Submit_img' />
( here is all good )
With redirection
<input type='image' name='Submit' id='hash_Submit_img' onclick="location.href='something.html'" />
( now it makes the redir. but without validation)
I really need help with this one. Thx
I have a simple form with validation and i want after submit to redirect to a new page. All good so far, but when i add the onclick command the form redirect to the new page wothout validation. Here is the code:
Without redirection
<input type='image' name='Submit' id='hash_Submit_img' />
( here is all good )
With redirection
<input type='image' name='Submit' id='hash_Submit_img' onclick="location.href='something.html'" />
( now it makes the redir. but without validation)
I really need help with this one. Thx