Mm, it's true, but the subject is to add elements to validate on fly.
As I understand, when "validate" function calls, plugin populate
elements only from config file, and does't look at overs

On May 20, 12:41 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
wrote:
> You have to specify that for each field, eg. "name[0]": "required",
> "name[1]": "required" etc.
>
> Jörn
>
> On Wed, May 20, 2009 at 7:24 AM, quard <qua...@gmail.com> wrote:
>
> > And I can use in my rules this : "Name[]" : { required : true} ??
>
> > On May 19, 6:51 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
> > wrote:
> >> Make each name unique, eg. name[0], name[1] and so on. As long as the
> >> names are unique, the validation plugin can pick up new elements and
> >> validate them.
> >> In addition, rules must exist for each name. Using inline rules
> >> (metadata, or classes and attributes) is the best approach here.
> >> Otherwise use the rules method to add 
> >> rules:http://docs.jquery.com/Plugins/Validation/rules
>
> >> Jörn
>
> >> On Tue, May 19, 2009 at 3:23 PM, quard <qua...@gmail.com> wrote:
>
> >> > My form has multiple elements like Name[] , which added via AJAX call.
> >> > And I want to add them to validation check. How can I do it?

Reply via email to