Skip to content

Miscellaneous

beforeValidation()

beforeValidation() — returns any

Registers method(s) that should be called before an object is validated.

NameTypeRequiredDefaultDescription
methodsstringyesSee documentation for afterNew.
<!--- Instruct CFWheels to call the `fixObj` method --->
<cfset beforeValidation("fixObj")>