function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Ways to improve efficiency of validation rules?

I have several validation rules triggering on my opportunities.  Salesforce will pop up the error message on each one seperately.  So the user fills in the data on the first error, saves, then gets another error popup.  Has anyone found a way to to make this more efficient?  I would love for my validation to pop all errors at once and perhaps show them in more of a visualforce page pop vs. the standard popup that salesforce uses.  Any ideas?
Rounak SharmaRounak Sharma
My suggestion for this will be if you can put all the fields having validation in one message only. so that it will be displayed on the top of the page and user will be able to identify what needs to be done next.
My next suggestion would inline VFpage which will have the message saying these fields needs to be filled.

Please let me know if it helps you