idTabs and form input validation
Hi ..
I want to validate a form using jQuery (or HTML5 default form validation) .. I use 1 form with 2 tabs ..
Imagine, there's a required field on the first tab (which I won't fill) .. Then I switch to the second tab and submit form ..
How do I redirect the user to the tab, where the first invalid input is located? If I am on the first tab right now, I can see the 'This field is required' message. But if I am on the second tab, nothing happens (I can't submit the form at all) ..
Thank you for your help in advance,
Juraj