Hi Jorn and all,

I had a question about the validation plugin. I'm hoping to integrate
the plugin into a page where I am also using the treeview plugin to
display a dynamic JSON form. Essentially the form's shape is
completely dynamic, so I use livequery to add/remove elements. If I
want to validate dynamically created elements, is livequery the way to
go? I'll try and give an example:

Person + - id='person' name='person'
    name: matt + - id='person.name' name='person.name'

the +- buttons for Person would create a new Person with an empty name
underneath it. The +- buttons for name would simply create a new name
under the same Person with the id/name being person.name[0] for the
original and person.name[1] for the new name. Currently I use
livequery to bind events/functions to these newly created elements. If
I have a validation rule or method I want to assign to all names, what
would be the best way to do this with your plugin?

I hope this example is clear, if now please let me know and I'll try
to be more specific or give a better example. Thank you very much.,

Matt

Reply via email to