I am working on some error trapping for several forms on my site. After
visiting a bunch of websites, I've noticed 2 common methods of displaying
1. display an error box on a new page and force the user to hit the <back>
2. display the form again with appropriate error text and pre-filled fields.
I have part of the error on the new page working but I'm running into the
infamous no contents in the form after going <back>.
There are some useability issues with forcing the user to hit the back
button -- some just don't want to bother.
Is there a way to display the form w/original contents and error messages
'without' having to code the entire form twice? I have about 5 forms with 50
fields or so each.
What would be the best way to go about redrawing the form with the errors
shown beside each field?
Any suggestions are greatly appreciated.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php