Skip to content

Channel form inline errors {field_errors} tag pair #4849

@robinsowell

Description

@robinsowell

The {field_errors} tag pair just outputs the error - no label or any indication of what the error is in relationship to. It also looks like it shows double the errors.

So if you have 2 missing required fields you get:

This field is required.
This field is required.
This field is required.
This field is required.

I see where that happens- there's one error for field_id_x key and one for the actual label- in the channel_form_lib.php around 1602.

We need to either give them a {label} variable or include the label in the {error} like it's done in the message when not using inline errors. And also not double it up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions