Flex Form Validation for Rich Forms

Adding validators to a rich form is reasonably simple. For Cold Fusion 7.02, the flex and mxml API referrence you need to use is here

Show me the goods...

<cfform height="500" width="500" format="flash" skin="haloblue">
<cfformitem type="script">
function doValidation(){
var test = mx.validators.EmailValidator;
var result = test.validateEmail(test, email.text, email);
alert(result);
}
</cfformitem>
<cfformgroup type="tabnavigator" id="main" name="main">
<cfformgroup type="page" label="page 1.">
<cfinput type="text" name="email" id="email" label="email" value="">      
<cfinput type="button" name="validate" id="validate" value="validate" onClick="doValidation()">
</cfformgroup>   
</cfformgroup>
</cfform>

An Example is here

Comments