<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