src/Form.php
public function getInvalidFields()
    {
        $invalidFields = array();
        foreach ($this->currentFields as $field) {
            if (!$field->isValid) {
                $invalidFields[] = $field;
            }
        }
        return $invalidFields;
    }
public function getInvalidFields()
    {
        $invalidFields = array();
        foreach ($this->currentFields as $field) {
            if (!$field->isValid) {
                $invalidFields[] = $field;
            }
        }
        return $invalidFields;
    }
public function getInvalidFields ( ) { $ invalidFields = array ( ) ; foreach ( $ this -> currentFields as $ field ) { if ( ! $ field -> isValid ) { $ invalidFields [ ] = $ field ; } } return $ invalidFields ; }
Get list of invalid fields

@return Field[]
Get list of invalid fields