Skip to main content
Hi All,

 

I have a simple validation rule applied on fields,it works seamlessly in terms of showing the error whenever the condition matches. The error comes only at one place i.e. either on the field or at the top of the page (whatever is the selection in validation rule). 

 

However when after saving the record if we edit it & enter a wrong value the error message is shown on the field as well as in the box saying "We hit a snag" & the error message. Please check the image.

 

Can anyone help me in removing this box?Validation rule error coming in a dialogue box 'We hit a snag.' when e edit the record & enter an incorrect value.
6 réponses
  1. 22 juil. 2020, 15:35
    Yes , My answer was related to that part only.

     

    Salesforce always show We hit a snag on standard pages  when validation is failed.

     

    if you dont want to see it,

     

    you have to develop custom lightning page and fire validation from js controller.
0/9000