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

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

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

I am looking to add a conditional checkbox to a CFINPUT field.  When the box is 
checked, I want it to either grey out, or remove the cfinput field frm the 
screen.  I am unfamiliar with how checkboxes work, so could anyone provide some 
sample code for how to go about this? Here is essentially how i want it to work:

 <checkbox>

 if unchecked,
    make cfinput field visible and usable
 if checked
    get rid of the cfinput field

 Thanks for any help.
 Nick Butler




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