Jörn Zaefferer schrieb: > Hi folks, > > what is your preferred approach to display messages? Think of validation > messages for a form. > > I'm looking for an approach that would work for both client- and serverside > generated messages. > > For example, a form is validated via JS and displays some messages. Now the > user disables JS, submits the form, and gets the same error messages, > displayed in the same way, only that it takes a little longer. > > Your ideas and experiences are welcome, demo pages are even better :-)
Hi Jörn, I think both messages for a form submit with server roundtrip and on-the-fly validation doesn't have to be the same necessarily... Here's an example: http://beta.plazes.com/register/ * Submit the form and you will get error messages gathered on top of the form, and additionally marked labels/inputs of the corresponding fields. * Put something in there, trigger the validation by leaving to the next field and you will get the same error message, but this time right in place, as expandend label. I think this makes sense, because your focus is still there and not on top of the form. -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
