src/Framework/Form/AspiForm.php
public function isValid()
    {
        $result = true;
        $fields = $this->getFields();
        // Check each element for validators, validate them and return the result.
        foreach ($fields as $field) {
            if ($field->validate() == false) {
                $result = false;
            }
        }
        return $result;
    }
public function isValid()
    {
        $result = true;
        $fields = $this->getFields();
        // Check each element for validators, validate them and return the result.
        foreach ($fields as $field) {
            if ($field->validate() == false) {
                $result = false;
            }
        }
        return $result;
    }
public function isValid ( ) { $ result = true ; $ fields = $ this -> getFields ( ) ; // Check each element for validators, validate them and return the result. foreach ( $ fields as $ field ) { if ( $ field -> validate ( ) == false ) { $ result = false ; } } return $ result ; }
Determine whether or not the form object is valid

@return boolean
Determine whether or not the form object is valid