Problem solved! i didn't realsie the action tag (below)was the corret location for the link. You learn something new everyday! Thanks for your help
<form name="myForm" action="submitf orm.html" onSubmit="retur n validate1();">
User Profile
Collapse
-
Thanks for the reply..
Once the form goes through the validation process it does not redirect to any particular page, it just seems to crash. How can I direct to a different webpage, this is my problem?Leave a comment:
-
JS form redirecting once validated
Hi, I was wondering if you could please help. I am working on a dummy site and I have used javascript to validate my form, and it appears to be work. I now want the validated form to link to a new webpage. I do not need to retain any of the inputted form informtion, i just need it to redirect to a new webpage once the form has been validated.
Many thanks in advance!...
...Code:var x; var myname; var surname; var
Last edited by Dormilich; Nov 27 '10, 02:53 PM. Reason: please use [CODE] [/CODE] tags when posting code
No activity results to display
Show More
Leave a comment: