Does anyone know how to disable a cfformgroup based on the selection
of a radio button on another cfformgroup? There is not much
documentation on this and the code below does not throw an error but
it does not work.
-----------------------------------------------------
<cfform name="myform" height="500" width="500" format="Flash" skin="haloBlue">
<cfformgroup type="accordion" height="320">
<cfformgroup type="page" label="1. Type" id="MyType">
<!--- Align the first and last name fields horizontally --->
<cfformgroup type="VERTICAL" label="Select Meeting Type">
<cfinput type="Radio" required="No" name="mType" label="a" value="1"
onclick="_parent.guest.setEnabled(true)">
<cfinput type="Radio" required="No" name="mType" label="b" value="2"
onclick="_parent.guest.setEnabled(true)">
<cfinput type="Radio" required="No" name="mType" label="c" value="3"
onclick="_parent.guest.setEnabled(false)">
</cfformgroup>
</cfformgroup>
<cfformgroup type="page" label="2. Guest" id="guest">
<!--- Align the first and last name fields horizontally --->
<cfformgroup type="VERTICAL">
<cfinput type="DateField" required="No" name="Start_Date" label="Start
Date" value="">
<cfinput type="DateField" required="No" name="End_Date" label="End
Date" value="">
</cfformgroup>
</cfformgroup>
</cfformgroup>
<cfformgroup type="horizontal" align="right">
<cfinput type = "submit" name="submit" value = "Submit">
</cfformgroup>
</cfform>
-----------------------------------------------------



-- 
John Blayter
email: [EMAIL PROTECTED]
blog:  http://john.blayter.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196939
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to