> I'd use a list instead of a comboBox. > > Next, taking the ComboBox as an example, I could use help figuring out > > how to pass the item selected by the user to the Object named obj so > > that it can be passed to the php form processor. How do I access what > > the user selected? Similarly, if I used a control that allowed for > > selection of more than one item in a list, how would I access the > > items selected by the user? > > > What you want to do is create an event handler for the change event on the > list. This will fire whenever someone clicks an item in the list. In the > event handler you want to look at the selected* properties (selectedItem, > selectedItems, selectedIndex, selectedIndices). These will tell you what the > user has selected in the list. At that point you can send them immediately > to your PHP script or set a local variable with their value until someone > hits a "submit" type button, or whatever happens before you send the values. >
Since, this item, the list, allows for multiple items to be selected, you would have to wait till the submit button is clicked to gather all the items selected by the user, is that not correct? But, how would you do that? You can't just look at one value for the Form item when it is a list. More than one item can have the "selected" property, so how do you find all items that have this value and return the value of the item selected? And how do you access the value of the items selected by the user? Thanks, Bruce

