Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation error message uses field name rather label #17

Closed
hwmaier opened this issue Nov 12, 2015 · 1 comment
Closed

Validation error message uses field name rather label #17

hwmaier opened this issue Nov 12, 2015 · 1 comment
Assignees
Labels

Comments

@hwmaier
Copy link
Contributor

hwmaier commented Nov 12, 2015

When a required validation fails, the error message references the field name. If the field name and label are different, then the web user has no idea which field the message relates to as he doesn't see the field name only the label. Wouldn't it make more sense to use the field label instead to reference the non-validating field in the error message?

Example:

    - name: platform
      label: OS & Language

and the message:
Validation failed: Missing required field: platform

@rhukster rhukster added the bug label Nov 13, 2015
rhukster added a commit to getgrav/grav that referenced this issue Nov 13, 2015
@rhukster
Copy link
Member

Should be fixed with latest Grav develop version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants