Skip to content

[Form] Customizing Error Output #3542

Closed
@dlondero

Description

@dlondero

Looks like there's a typo when explaining how to customize error output for global errors in forms.

In the docs you can read:

To override how errors are rendered for all fields, simply copy, paste and customize the form_errors fragment.

and just a few lines below:

To customize only the markup used for these errors, follow the same directions as above, but now call the block form_errors (Twig) / the file form_errors.html.php (PHP).

Both changes apply to form_errors...is that right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions