Hi, I am using tab widget in my prototype application and I have a requirement that I hope not a unique one. I am looking for some suggestions or location where I can find demos. Here is the use case.
1. Page with 4 tabs and only first tab is active and all other tabs should be inactive. All tabs will have individual submit buttons to submit to server.
2. User must submit from tab1 to go to tab2. (After submitting to the Struts action, I can forward it to same page, but not able to figure out to enable tab1, tab2 and keep tab2 loaded. If submitted from tab2 then come back to same page but activate tab1, tab2 and tab3 but tab3 loaded and goes on.
If user is currently on tab4 and If user clicked on tab1 (going back to the flow) I need to disable tab2, tab3, tab4 so user must submit to proceed to tab2. Reason for this logic is, there are some fields in forwarding tabs that are depended on previous tab form fields.
I am trying to enforce user simply going to tab1 and changing the field and coming back to tab4 and see incorrect data that has a dependency in tab1 form filed.
Does it make sense what I am trying to do? Is it possible to do? Are there any other suggestions for me to follow similar approach? Anything you can share would be really appreciated.
Thank you!