The validation message of some inputs doesn't mention the correct input name

Issue

  • Fields marked as required and left empty when trying to submit a form or publish a folder display a different error message than what is expected: “This field is required”. 

Environment

  • DXP 7.4 U49+

Resolution

  • Before the release of DXP 7.4 U49, the default error message would only be "This field is required." if you did not set a custom message. However, after this update, even if you do not set a custom error message, it will display the message as this: "This [FIELD NAME] field is required."
  • This behavior was flagged as intended and was introduced by LPS-166091.
  • It was stated that the error message displayed in previous versions of DXP that came before U49 was not the right one, instead what should have been displayed was always: "This [FIELD NAME] field is required."
  • If you wish to change this behavior, the only way to do that is to customize the taglibs. The associated links can be found at the Additional Information section below.

Additional Information

 

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助