I found if I changed the capitalized values of the contact group it
works. But I know that's not the correct answer but a hack and might
shed some light?


<cfform action="actionPage.cfm" 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" 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">

                        <cfinput type="radio" name="ynIsActive"
label="No" value="no" checked="yes">

            </cfformgroup>

</cfform>

On 7/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> 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="actionPage.cfm" 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 
> 
>
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to