I would respectfully disagree with the entelligence.com advice. If you name
radio buttons differently, they cease to be radio buttons; i.e., radio
buttons have the unique feature of limiting their group's selection to only
one item. Name them differently, and that feature goes away.
Both values will NOT be passed normally... if what the original poster was
describing is actually happening, it's a severe browser bug, and *highly*
unusual. And as far as it crashing the CF server, that's hard to imagine
unless you've got code that freaks on the comma between the values.
-ron
> -----Original Message-----
> From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 06, 2000 1:11 PM
> To: CF-Talk
> Subject: RE: Radio buttons
>
>
> of course both values get passed. what you should do is name them
> differtently
>
>
>
>
> -----Original Message-----
> From: Jon Gage [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 06, 2000 10:05 AM
> To: CF-Talk
> Subject: Radio buttons
>
>
> 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>
>
> POSTING FORM
> Form.CC will come up as "VALUE1/VALUE2"
>
> Has anyone had this problem before? It only happens *very* rarely on our
> site, but it looks like it may be crashing the CF server.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists