validatorCFC - This component validates the data in an object according to custom rules set up.


Category:
Scripts
ColdFusion
Requirements:
Seller:
Price:
-
System:
Rating:
4.8
License:

Description - validatorCFC - This component validates the data in an object according to custom rules set up.



This component validates the data in an object according to custom rules you set up. It is especially created to determine data Validity for a data store (DBMS, etc) rather than for business rules, but you can set up your own Complex rules. Some may be out of its scope, however. I have included some sample rules that test various data types and common formats. Your object to be validated must have getters for each property in the format getFirstName() where FirstName is a property, and must use cfproperty tags in order to indicate which rules should apply for each property. (I would like to allow this to be specified using an XML config file or a config bean in the future)



More in ColdFusion-validatorCFC - This component validates the data in an object according to custom rules set up.

Component Validates Custom Rules