2

I have requirement where I need to show all error messages at one time from certain fields only.

So when stageName changes to Ready there are certain fields lets say field 1 , field 2 , field 3 that needs value before stage name changes to ready. I have created Standard validation rule throwing error one by one, using ispickval(SategName, "Ready") && ISNULL(Field1__c)for each field there is seperate rule.

Now what happens is when user changes stagename to ready with all the fields empty it gives them error one by one saying field 1 is empty first when they put value in field 1 it goed to field 2 is empty. I want error messsage to say Value Required in following fields Field 1 field 2 Field 3

Is it possible?

2

It is not possible to display all the error message on a standard detail page but you can go for customization.

If you feel to not go for customization I would suggest you to create one more validation rule which covers both the scenario and from both the existing validation rule remove the overlapping condition and handle it separately with new validation rule.

Validation Overlap

Thank You.

  • Please let me know if you need any help with customization on this or you can select as best answer. Thank You. – Nishant Singh Panwar Oct 17 '15 at 12:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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