complex form validation using jquery
Hi All,
In a part of my form, I have added the feature of Add More which adds some elements dynamically and gives the ID and the NAME of the element dynamically.
For example:
Id will be address_1, address_2 and so on and also the name.
I also need to add the validation criteria for this dynamic elements.
For a static element, I can easily define the validation rules using jQuery. But I am having problem to incorporate the validation rules for these dynamic elements. How can I get this solution?
I need your help.
Thanks