I am having a redirect problem.
I have JavaScript checking for empty required fields, that part works. Once the fields have been filled in, it's sending me an e-mail with the filled in fields, that part works also. It's the redirecting to another page that is the issue.
The problem I'm having is if the form is missing a field, it notifies me but then once I click the "OK" button, it redirects me instead of leaving it on the same registration page.
Here's the redirect code:
<input type=hidden name="redirect" value "http://website.ThankYou.html">
How do I make it stay on the registration page until all the necessary fields are satisfied? Should I be using something else, other than the redirect?
Thank you for your help, in advance,
Peggy
I have JavaScript checking for empty required fields, that part works. Once the fields have been filled in, it's sending me an e-mail with the filled in fields, that part works also. It's the redirecting to another page that is the issue.
The problem I'm having is if the form is missing a field, it notifies me but then once I click the "OK" button, it redirects me instead of leaving it on the same registration page.
Here's the redirect code:
<input type=hidden name="redirect" value "http://website.ThankYou.html">
How do I make it stay on the registration page until all the necessary fields are satisfied? Should I be using something else, other than the redirect?
Thank you for your help, in advance,
Peggy