I have a form with multiple steps like jquery tabs. My intention is to validate the input text fields within a single tab and only then will the user be able to go to next tab. In the last tab I want to submit the form with all the data from previous tabs.
How can I use jquery validation plugin on DIV tags so that I can have multiple div tags in single form and how can I validate input text on each div fields?
Thank You
You can use custom rules, and set your form ‘valid’ for submit according selected tab e.g:
div 1
div 2
…
Configuration will be following:
Well, something like this. Change as you wish, main idea is here