jQuery Tabs, how to not submit hidden information
Quick question about using tabs. I have a form, and one of the fields allows a user to submit either a single date, a date range or choose multiple, non-consecutive dates. I'm using tabs to allow them to pick the option they want and then present them with the corresponding dialog.
The problem I'm running in to is that when the form is submitted, all of the different date fields in the different tabs also get submitted. While I can take care of this on the server side, I was wondering if there is a way to make it so that only the active tab gets submitted... I know that the tabs use the css display:none, but maybe an easy way to disable all fields in a tab when switching out?
I looked into tab events but it's a little confusing.
Thanks for any suggestions/help!