valid()
Description
Runs the validation on the object and returns true if it passes it. Wheels will run the validation process automatically whenever an object is saved to the database but sometimes it's useful to be able to run this method to see if the object is valid without saving it to the database.
Function Syntax
valid()
Parameters
None.
Examples
<!--- Check if a user is valid before proceeding with execution --->
<cfif user.valid()>
<!--- Do something here --->
</cfif>
