[jQuery] Re: Basic questions about jQuery validation plugin.

2009-07-30 Thread PictureMan
I belive it should be like this: (added messages for you if you arean't using them) $('#myform').validate({ rules: { score_1 : {required: true}, score_2 : {required: true}, score_3 : {required: true} } messages: { score_1 : "Required message here

[jQuery] Re: Basic questions about jQuery validation plugin.

2009-07-30 Thread Tim
Also, you might have a missing curly-bracket after rules: { score_1 : {required: true} unless you just mis-typed it. Tim :o] On Jul 30, 7:57 am, Anoop kumar V wrote: > I think the validation plugin depends only on the name and not the id. > > On 7/29/09, Leon wrote: > > > > > > > Hel

[jQuery] Re: Basic questions about jQuery validation plugin.

2009-07-30 Thread Anoop kumar V
I think the validation plugin depends only on the name and not the id. On 7/29/09, Leon wrote: > > Hello, > > I have a form with a set of input fields. I am going to validate the > form with jQuery Validation. The field has the value of its ID > different from the value of its name. I've looked