PDA

View Full Version : Select only one


VitiminJ
01-08-2003, 06:39 PM
I'm gonna try and explain this as clear as possible.

I have a form in which in spits out an answer determined by someones selections. So you select a item from the first list- I got that down, then you select a item from the next part. This a part is broke down into three different list boxes because there are so many. How do I set the select the selection so a user can only select one from this step. Ex. Three list boxes I select one from the first list box, I get my answer. I want to go back without hitting the reset button and select an item from the second column. How can I set it so my first selection, deselects, and the second one clicked stays selected. I hope this clear sometimes it's hard to explain these problems we have. Thanks for your input.

xxlm
01-08-2003, 06:59 PM
if you got listbox, you got MX...So
If you select in another listbox then this listbox have the focus. Look for the onsetFocus event. In this one code to deselect the other listbox (setSelectedIndex = -1 perhaps?).

Just an idea...
;)