Although this would be great for the programmer I think
this would be horrible for the user experience. That's not how a user would
expect to interact with a form. You could "solve" that problem with giving them
an explanation about your form... but then you're giving them more things to
read... which makes users get bored and frustrated... and leave your
website.
But not only that, people may be confused why they can't
tab or click in another field when the current form field is empty. So let's say
they come to your form and want to skip to something else before they enter any
data. They can't and that will be frustrating.
Forcing user movements like they are cattle in a
slaughterhouse is a bad thing. At lesat I know I hate it. "What do you mean I
CAN'T fill out this other field first?"
Chris.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giuliano Marcangelo
Sent: Tuesday, November 14, 2006 7:30 AM
To: jQuery Discussion.
Subject: Re: [jQuery] How to display error/validation messages?
One idea for form validation (don't know how practical it would be to code)...would be that the next/following input is only enabled if the current input is successfully filled with the correct data.
So the scenario would be that on inputting data into input No1, if the input is not validated then an error message is generated/displayed and the focus would remain on the unsuccessful input
only when the input/data is validated, would the subsequent input area be activated.
Following on from this, only when all inputs have been validated (client side) would the submit button be enabled.................where the server side validation would takeplace
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
