[jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
I'm working with the validation plugin I have a first name and last name field and I want to have these grouped together with one message. This is what I have: But the message still isn't showing. groups: {fullName: firstname lastName,

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Jörn Zaefferer
You need to specify the rules for each individual field, here firstname and lastName. The group name doesn't have any meaning outside the groups-option itself. Jörn On Tue, Nov 17, 2009 at 4:23 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: I’m working with the validation plugin

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
So what exactly does the group option do? On 11/17/09 10:30 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You need to specify the rules for each individual field, here firstname and lastName. The group name doesn't have any meaning outside the groups-option itself. Jörn On Tue,

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Jörn Zaefferer
It affects the message display, producing only a single error label for a given group. Jörn On Tue, Nov 17, 2009 at 4:35 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: So what exactly does the group option do? On 11/17/09 10:30 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com