{% if is_defined('view.first_field_with_errors') and view.first_field_with_errors %} {% comment %} formfield:
error
form.errors or form.foo.errors: {% endcomment %} {% endif %}