[jQuery] How to display error/validation messages?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=491002217-14112006><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=491002217-14112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491002217-14112006><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=491002217-14112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491002217-14112006><FONT face=Arial
color=#0000ff size=2>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?"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=491002217-14112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491002217-14112006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491002217-14112006></SPAN><FONT
face=Arial><FONT color=#0000ff><FONT size=2>C<SPAN
class=491002217-14112006>hris.</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> discuss-bounces@jquery.com
[mailto:discuss-bounces@jquery.com] <B>On Behalf Of </B>Giuliano
Marcangelo<BR><B>Sent:</B> Tuesday, November 14, 2006 7:30 AM<BR><B>To:</B>
jQuery Discussion.<BR><B>Subject:</B> Re: [jQuery] How to display
error/validation messages?<BR></FONT><BR></DIV>
<DIV></DIV>Jorn,<BR><BR>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.<BR><BR>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 <BR><BR>only when the input/data is
validated, would the subsequent input area be activated.<BR><BR>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 <BR><BR><BR></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/