K
KL
Is there a way to redirect with javascript? I used javascript to do
some validation on a form, but the form was set to redirect back to the
index page after the submit button was clicked. So what I want to do
is to say if it passes validation, then redirect, but if it doesn't
pass, I want it to stay on the page so the user can fix the problems
and click submit again. Can I even do this in javascript?
some validation on a form, but the form was set to redirect back to the
index page after the submit button was clicked. So what I want to do
is to say if it passes validation, then redirect, but if it doesn't
pass, I want it to stay on the page so the user can fix the problems
and click submit again. Can I even do this in javascript?