In the detail page of a record,if any error occurs on editing and saving(Eg: not giving value for a mandatory field) , error message is shown as below.

enter image description here

It is a standard edit page in lightning. I have a requirement where only the error message should be shown and not the message "Review the errors on this page".Could anyone please let me know whether it is possible to remove that line.

  • You can put the CSS inside static resource and add that on the page, but this is very dangerous way of doing this. – itzmukeshy7 Feb 5 at 14:01

No, this is standard Salesforce functionality.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.