After validating a form, the "Back to form" returns to the form. The filled fields however are reset to blank in IE. They are filled if using FireFox. I get the same behavior if I use the browser's Back button.
I would like the filled fiels to retain theit content after validation.
Thank you.
TRX
"Back to form" resets fields in IE
3 posts
• Page 1 of 1
That behavior is controlled by the browser, I'm afraid. To have the entered values load back in without depending on the browser, you'd need to either script the form page to re-enter the values (that would need stored in a session or cookie), or more simply, you could use JavaScript validation to check the form out before it is submitted. If the JavaScript runs with the form is submitted, it could cancel the submission and the form wouldn't lose any values.
If the validation is relatively simple, this might help...
http://www.mindpalette.com/tutorials/va ... vanced.php
What I like to do is use JavaScript validation because it's easier for the visitor (like in Explorer where it loses the form values), and then back that up with server-side (NateMail or ProcessForm) validation for those few users with JavaScript disabled.
If the validation is relatively simple, this might help...
http://www.mindpalette.com/tutorials/va ... vanced.php
What I like to do is use JavaScript validation because it's easier for the visitor (like in Explorer where it loses the form values), and then back that up with server-side (NateMail or ProcessForm) validation for those few users with JavaScript disabled.
- Nate Baldwin
- Site Admin
- Posts: 3724
- Joined: 04/25/2003 @ 19:05
3 posts
• Page 1 of 1
Return to Form Processing (NateMail, ProcessForm)
Who is online
Users browsing this forum: No registered users and 2 guests