Return to v1.4.5 docs

automaticValidations()



Whether or not to enable default validations for this model.

Name Type Required Default Description
value boolean Yes Set to true or false.
// In `models/User.cfc`, disable automatic validations. In this case, automatic validations are probably enabled globally, but we want to disable just for this model.
<cffunction name="init">
	<cfscript>
		automaticValidations(false);
	</cfscript>
</cffunction>