|
Is it possible the yes element of the second radio group is checked because
you have it as a required field and it is by default checking the radio
button.
>>> [EMAIL PROTECTED] 7/27/2005 9:39:21 AM >>> Thanks for the reply, but that does not work. CF requires a Boolean value for checked attribute. Even if I remove all checked attributes from the second radio group, the yes element is selected because the first radio group has it's yes element selected. Weird. This has to be a bug. Tom -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Rawlinson Sent: Wednesday, July 27, 2005 9:20 AM To: [email protected] Subject: Re: [CFCDev] XML form help (CFFORM) changed checked="yes" into checked="checked" instead. that should do it; for elements that aren't checked do not provide the checked attribute at all. On 7/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > This maybe off topic for this list, but I hope someone can help please. I'm > trying to get CFMX7's XML forms to work with different groups of radio > elements. Here's my code snippet: > > > > <cfform action="" name="contactForm" format="xml" skin="blue" > width="500"> > > <cfformgroup type="horizontal" label="I wish to be contacted: "> > > <cfinput type="radio" name="contact" label="Yes" > value="yes" required="yes" checked="Yes"> > > <cfinput type="radio" name="contact" label="No" > value="no" > > > </cfformgroup> > > <cfformgroup type="horizontal" label="Is Active: "> > > <cfinput type="radio" name="ynIsActive" label="Yes" > value="yes" required="yes" checked="no"> > > <cfinput type="radio" name="ynIsActive" label="No" > value="no" checked="Yes"> > > </cfformgroup> > > </cfform> > > > > > > I've the contact radio element's "yes" option selected and I want the > ynIsActive element's "no" option selected by default. The form is getting > rendered with both groups having "yes" option selected. It appears the > value of the first radio grouping is getting applied to the second radio > grouping even though each group has a unique name. What gives? Is this a > bug, or is there a setting I'm missing? > > > > Thanks - Tom > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to > [email protected] with the words 'unsubscribe cfcdev' as the subject of the > email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > CFCDev is supported by New Atlanta, makers of BlueDragon > http://www..newatlanta.com/products/bluedragon/index.cfm > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] -- [EMAIL PROTECTED] http://blog.rawlinson.us If you want Gmail - just ask. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www..newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www..newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] __________________________________________________ This message and any files transmitted with it are intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- RE: [CFCDev] XML form help (CFFORM) Anthony Willenbring
- Re: [CFCDev] XML form help (CFFORM) Bill Rawlinson
- RE: [CFCDev] XML form help (CFFORM) tom.schreck
