Jump to content

[SOLVED] How to display field's label on error messages?


PWaddict
 Share

Recommended Posts

Currently we get the field's name on the error messages which is perfect for superusers but I would like to make them more user friendly for non-superusers by displaying the field's label instead of name.

So this:

Missing required value (news_text)

Should be changed to this for non-superusers:

Missing required value (Text)

Link to comment
Share on other sites

  • PWaddict changed the title to How to display field's label on error messages?
  • 3 weeks later...

I forgot to update the topic. On the PW 3.0.104 version we get the field labels instead of the field names on "Missing required value", "Restored previous value" and "Page unpublished because field is required" error messages. More info on GitHub.

  • Like 1
Link to comment
Share on other sites

  • PWaddict changed the title to [SOLVED] How to display field's label on error messages?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...