Returns the validation type for the property
Name | Type | Required | Default | Description |
---|---|---|---|---|
property | string | Yes | Name of column to retrieve data for. |
validationTypeForProperty(property) <!--- first name is a varchar(50) column ---> <cfset employee = model("employee").new()> <!--- would output "string" ---> <cfoutput>#employee.validationTypeForProperty("firstName")>#</cfoutput>