Miscellaneous
beforeValidationOnCreate()
Signature
Section titled “Signature”beforeValidationOnCreate() — returns any
Description
Section titled “Description”Registers method(s) that should be called before a new object is validated.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
methods | string | yes | — | See documentation for afterNew. |
Examples
Section titled “Examples”<!--- Instruct CFWheels to call the `fixObj` method --->
<cfset beforeValidationOnCreate("fixObj")>