Dependant Drop-down Help

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 12th, 2006, 13:25
New Member
Join Date: Sep 2006
Location: uk
Age: 23
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote

  #2 (permalink)  
Old Oct 13th, 2006, 12:05
Up'n'Coming Member
Join Date: Jan 2006
Location: East Sussex
Age: 26
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply

Tags
dependent, dropdown, mysql, php

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 08:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43