Forum Moderators: coopster
On the main page, a small form, where the user selects the main type of widget they're looking for. We'll call this variable mainwidget. After submitting the variable is passed to form2 ( this is working fine. )
Here's my dilemma. For each mainwidget, there are different types of subwidgets, say 4,5,6 of each. I want to be able to use the $mainwidget variable to determine which subwidgets show up in the subwidget drop-down box in the form on page2. I was thinking about trying to set up a PHP if statement inside the form, for the dropdown box. All other form items are standard for each mainwidget, just the subwidget item needs to be variable. Any ideas on syntax / feasability?
Thanks!
LB