jQuery for dynamic forms
I am running into an issue that makes me think there is a better way to do things. Basically, it's a booking system that has many options pending on what was selected in each form section.
How I'm doing it:
- Form has a dropdown, it has 3 entries the correspond to hidden divs
- An option is selected and jQuery unhides the corresponding div
- Now, a Second dropdown is visible with 5 entries populated by PHP
That's where I stop. The second drop-down should allow the user to select an option and then populate ANOTHER drop down.
But, it's getting to the point where I would have about 100 hidden divs with custom PHP calls to get the right data into them.
Is there a better way to do this?
Last edited by $var; 01-10-2011 at 02:06 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread