At 9:49 AM -0400 9/11/10, Jason Pruim wrote:
Hope you are having a great weekend, and I'm hoping someone might be
coherent enough to help me find a more elegant solution to a problem
that I have...
I have a form for submitting an event to a website, and if the form
is not submitted successfully (such as they didn't fill out a
required field) I want it to redisplay the form with inline errors
as to what happened and display the values they selected...
Any ideas what I'm missing?
I think what you are missing is that this data collection should be
split between client-side and server-side operations.
enters and then immediately respond to the requirements imposed upon
After the user fills out the information correctly and clicks submit,
then have your server-side scripts check the data again and respond
Here are a couple of examples:
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php