Telephone
Telephone validates a US telephone number of the form ###-###-####, providing equivalent functionality to the <cfinput validate="telephone"> tag. It does not verify that the number is valid - merely that the format is correct. The key components of this preset are the regular expression used to validate the number, and a custom error message. Note that this preset is unsuitable for use on forms exposed to an international audience as telepone number formats vary widely. This preset could easily be adapted for other telephone number formats.
