Multiple error messages

  • 1
  • Problem
  • Updated 2 years ago
  • Acknowledged
  • (Edited)
I have a page built of multiple components, including a tab set and a few field editors, which all reference the same model.

Recently we found that when a validation rule is triggered on that model, multiple errors are appearing. Is there any way we can turn them off so that only a single error appears at the top of the page?

Thank you!
Photo of Kathryn Castle

Kathryn Castle

  • 814 Points 500 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Unfortunately, we do not have a declarative method of being able to conglomerate errors into one "super error" so that you only see one instead of multiple. 

We do have the capability to hide certain errors within a field editor:

(Edited)
Photo of Kathryn Castle

Kathryn Castle

  • 814 Points 500 badge 2x thumb
Hey Stephen,

Thanks for the quick reply. Unfortunately this doesn't seem to work - both with "Show Errors Inline" and "Show Inline Error Only on Hover" I still see the multiple errors.

Is there anything else I can do?

Thanks!
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
You'll still see multiple errors with the suggested capability implemented, you just might not see as many.

I don't know of any ways to accomplish this without developing custom javascript for the page.
Photo of Kathryn Castle

Kathryn Castle

  • 814 Points 500 badge 2x thumb
Ok, thanks anyway
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
My pleasure.