validate()

The validate() method validates the submitted data against the Perch form fields in a Perch-templated form.

Return

Boolean

Usage

function company_app_form_handler($SubmittedForm) {
    if($SubmittedForm->validate()) {
        // valid
    }
}