The way tabs work is that when content is load into the DOM, it stays in the DOM even if you change tabs. Because of that, you'll either (1) have to use unique IDs for each of your forms, or (2) remove your form from the DOM before displaying another one. I'd prefer using the first option, and just attach each of the unique form IDs to use the same validation.
On Aug 19, 6:21 am, anush <anushshe...@gmail.com> wrote: > Hi, > > I have a form with the same structure being loaded in 3 tabs. Now > during validation, I will have issues with the IDs of the form fields. > Now is it possible to disable the forms in tab 1 and tab 3 when tab 2 > is clicked. > > - > Anush