Thanks Jörn,
but, can i add rules and messages at script tag? Without being inline.

I try:

validator.rules["field_3"] = {
    required : true,
    email     : true
}

Not work.


Thanks.

2008/1/21, Jörn Zaefferer <[EMAIL PROTECTED]>:
>
>
> Mileto schrieb:
> > How with you to add rules and messages in the Plugin Validate in
> > fields that they are added by the user? In my form, the user clicks on
> > a button and to add a block of fields. I need that these blocks are
> > validated also.
> >
> Check out this example:
> http://jquery.bassistance.de/validate/demo/dynamic-totals.html
>
> A few details about the different ways to specify validation rules are
> here: http://docs.jquery.com/Plugins/Validation/rules
>
> Jörn
>
>

Reply via email to