[thelist] Deselecting A Radio Box

.jeff jeff at members.evolt.org
Thu Jan 23 12:05:00 CST 2003


gregory,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Gregory J Toland
>
> Is there a way to deselect a radio box?  Once a user
> selects a radio box (lets say there are 3 radio boxes)
> how can the user deselect the box so that no one box
> is selected?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

radio buttons are intended to represent one choice from all available, not
one choice from all available if the user picks one.  in fact, some browsers
will check the first radio button in a set if none are marked as checked.

http://members.evolt.org/jeff/code/unchecking_radio_buttons.cfm

found this post about the same subject that explains in more depth what the
link above is for:

http://lists.evolt.org/archive/Week-of-Mon-20000131/095258.html

so, my suggestion?  if you absolutely have to have a way to indicate a user
isn't making a choice from a set of radio buttons (isn't not answering them
a choice?), then my suggestion would be to have a "no choice" member of that
set that's checked by default.

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list