> > I'm having a problem with radio buttons in my form.
> > Sometimes when I post the form, BOTH values of
> > like-named radio buttons get passed.
> > Example:
> >
> > ORIGINAL FORM
> > <input type=radio name=CC value=VALUE1 CHECKED>
> > <input type=radio name=CC value=VALUE2>
>
> of course both values get passed. what you should do is name
> them differtently
No, with radio buttons, you use two or more with the same name; the user
selects one, and the value of the selected one is what should be returned.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists