Jquery validation:: multiple forms validation problem with ignore: []
Dear all,
I have multiple forms on a page and each form have its separate rules and its Validate() method.
I have different tabs in one of the form so some of the controls are hidden when I try to submit my form. So for that I have added
ignore: []. in rule and it is working fine.
But other 2 forms are the part of 2 separate popups .And these popups open on click of button which is part of first form. and when I open these pop up and add some data in popup which contain form (to insert data in first forms grid) and popup get close. 2nd form get initialize and when I finally submit data for my main form i.e. first form, it not getting submitted and validation get false and the second form is initialized and first form trying to validate second form controls which are now hidden and I don't want to validate it.
So What I want to do is Only validate controls which are part of a single form and controls would be hidden and visible also. It should not validate other forms on submit of first form.
Please help me.
Thanks. :-)