[jQuery] Re: validation - multiple errorPlacements

2009-08-12 Thread nouky
I did not understand this Jörn Zaefferer wrote: seedy schrieb: Is it possible to use errorPlacement with the validation plugin to have a different placement for each field validated? ie. $('#testForm').validate({ rules:{ firstname:{required:true},

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread Jörn Zaefferer
seedy schrieb: Is it possible to use errorPlacement with the validation plugin to have a different placement for each field validated? ie. $('#testForm').validate({ rules:{ firstname:{required:true}, integer:{required:true} } }) I would like to

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread seedy
wow I hadn't considered using an if to check the id of the element. Feeling really dumb right now. Thanks! Jörn Zaefferer wrote: seedy schrieb: Is it possible to use errorPlacement with the validation plugin to have a different placement for each field validated? ie.

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread seedy
ok now a follow up question I have 3 text boxes that make up a telephone number. I want validation to fail if any of the text boxes are not complete, but I only want to show one message for the failure, not one per textbox. Any recommended ways of doing this? Jörn Zaefferer wrote:

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread Jörn Zaefferer
seedy schrieb: ok now a follow up question I have 3 text boxes that make up a telephone number. I want validation to fail if any of the text boxes are not complete, but I only want to show one message for the failure, not one per textbox. Any recommended ways of doing this? The first