macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: How would I add a conditional checkbox to an input field?

Subject: Re: How would I add a conditional checkbox to an input field?
From: "NickoSwimmer" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 15:27:18 +0000 (UTC)
Newsgroups: macromedia.coldfusion.cfml_general_discussion

Ok, I am taking another apporoach to this prob.  Wrather than making an 
actionscript function, I am trying to handle this with CFIF. When I run this 
however, I am getting a "Variable ENABLEHIDE is undefined". Could someone help 
me out?

 <cfinput type="checkbox" name="enablehide" label="No Hire Date" value="1"/>
                             
                             <cfif enablehide NEQ 1>
                                <cfformgroup type="horizontal" visible="yes" 
enabled="yes"  style="marginLeft:-74;" >
                                                        <cfinput 
type="datefield" name="HireDate" label="Hire Date:" width="91" 
bind="{contactList.selectedItem.HireDate}" onchange="UpdateSelect(HireDate);"/>
                             
                             </cfformgroup>
                             </cfif>


<Prev in Thread] Current Thread [Next in Thread>