Listbox disabled until Selection?

11-13-2006, 05:05 AM
Hi all,

I have a form in dreamweaver that consists of a couple of textboxes and two list boxes.

I would like to make listbox2 disabled until either of the bottom two selections from listbox1 have been selected.

Is that possible?

Thanks very much,


11-13-2006, 10:13 AM
yes. you'll need to use JavaScript, and the onchange event from the first list box. Check for the appropriate values and then reenable your second box.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum