Another question from me to my jQuery UI tab learning and debugging days...
Expect I have 20 tabs with several input fields on it.
User switches between tabs and inputs some data in the input fields on the different tabs.
On the final tab there will be a check button.
What is the best way to check for the values in the different tabs and jump to the tab with a empty or false filled form field?
I got some working solutions to address the back button topic. Hitting the back button returns the user to the last tab where he was not the first. But how do I avoid that the user input in the tabs (the values are not yet stored in the database this will be done after clicking the check button) are lost, if the user hits the back button?
Use local storage to save the form data to their browser without bothering with the database. Here is a jquery plugin that can help
First of all, try posting some code so we'd have something more specific to work with.
Second, since you're submitting a form, I will assume that all fields can be found inside a form
tag. Note that I will also assume that you're only working with text fields.
Here's what you can try: http://jsfiddle.net/J4bas/1/
Using that, you can find the tab that holds the offending input field inside the if condition. Then maybe use the technique found here: selecting & loading a jquery tab programmatically
To load the tab, programatically.