Skip to content

Miscellaneous

beforeValidationOnCreate()

beforeValidationOnCreate() — returns any

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

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