House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Flash (CF-Flash)

dynamically set required attribute in cfform flash

Author:
Chris Velevitch
01/19/2009 04:51 PM

<cfsavecontent variable="checkBoxChanged">    if (Checkbox.selected == true) {        mx.validators.Validator.enable( this, "myform.DateField");    } else {        mx.validators.Validator.disable( this, "myform.DateField");    } </cfsavecontent> <cfinput type="Checkbox" name="haskeys"  label="I have my keys" visible="Yes" enabled="Yes" onChange="#checkboxChanged#"> Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney January '09 meeting: Looking Ahead To The Next Version Of Flex Builder Date: Mon 19th January 6pm for 6:30 start Details and RSVP http://groups.adobe.com/posts/b3ccf0d972


Search cf-flash

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29