Cold Fusion lets you write your own validation routines in Java Script, and lets you create Java Script error handlers.
In addition to native Cold Fusion input validation using the validate attribute of the cfinput and cftextarea tags, the following tags support the on Validate attribute, which lets you specify a Java Script function to handle your cfform input validation: The following example validates a password.
By combining the expression for numbers and alphabetic characters, there is an expression that checks, whether the entered things includes numbers and alphabetic character or not.
A general expression to check valid email address is: /^[w-.
Below are the ways to get the value from all types of form elements.