Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Feature Proposal: Show validation error message beside form field title #568

@iosdev-republicofapps

Description

@iosdev-republicofapps

Hi,

Really enjoying Form, thanks again for making this available!

I notice that when form fields fail validation, they turn to red, which is great. But although the color is red, it doesn't show what is wrong, only that something is wrong with the field. I thought about showing validation failures in an alert, but that would require the user to remember those failure messages and then go correct them.

What about adding an option to show validation failures in red text appended to the field's title if the field has a title. The validation failure message would disappear from the field title when the form passed validation. Or would it need to disappear as soon as the field's current value passed validation (as feedback that the user's changes were working)? That might be complicated for cross-field validations.

Just curious what your thoughts were about this and if you had any suggestions? I'm happy to help with a PR for this.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions