This is a discussion on "Dependant Drop-down Help" within the PHP Forum section. This forum, and the thread "Dependant Drop-down Help are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Dependant Drop-down Help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Dependant Drop-down Help
I have a PHP web page designed in dreamweaver mx 2004 that has 5 dependant dropdown menus.(from
mx widgets extension) that get data from a mysql database. The dependant dropdowns are: Make Model Spec Job Area The job section has a list of Clutch, brakes, full service and so on. Upon selecting Brakes from the JOB menu i have a hidden multiple selection field that should show with four options that the user can choose from such as (Rear Brakes, Front Brakes and so on) My problem is that i want the multiple selection field hidden unless the user selects BRAKES from the JOB dropdown. At the moment it is showing when any job is chosen. I would be grateful for any help. Thanks in advance. |
|
|
|
|||
|
Re: Dependant Drop-down Help
If the user has javascript enabled then you could just use the visibility property. Have is set to hidden for the select box for the brake types then when a user selects brakes use js to change the property to visible.
If js is not enabled then once the user posts the form you could do a check on the server to see if brakes has been selected, and if it has ask the user then which brakes they require done then. |
![]() |
| Tags |
| dependent, dropdown, mysql, php |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drop down menus drop behind flash header | theGAME71135 | Flash & Multimedia Forum | 3 | Jan 10th, 2008 09:42 |
| drag (not drop) | snooper | JavaScript Forum | 2 | Jul 5th, 2007 20:40 |
| Dependant Drop-down Help | phoenix211984 | JavaScript Forum | 1 | Oct 13th, 2006 17:44 |
| Populate Drop Down | SweetLou | Classic ASP | 5 | Jan 18th, 2006 21:31 |