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
Von V.Von V. 

Error message on field location Mailing Country not showing in Lightning

Hi -

I have a validation rule that has Error Location on Mailing Country field. The error message is showing properly on Mailing Country field using Salesforce Classic. In Lightning, there is only a message saying "Review the errors on this page." and not showing the correct validation rule error message. The reason I think Maling Country being displayed as Mailing Country Code in lightning that why validation error message on field location is now working.

I would like to confirm if this if the expected behavior? Though we have a workaround to change error location to "Top of Page"
SandhyaSandhya (Salesforce Developers) 
Hi,

I have tried for myself writing sample validation rule on contact as below checking for mailing country if it is null throw error as "please provide country."

User-added image

User-added image
Please let me know if you are trying something different other than this so that  I can help you further.

If this helps you, please mark it as solved.

Thanks and Regards
Sandhya