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
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
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
3 matches
Mail list logo