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
Priyanshu SinghPriyanshu Singh 

I have two emails fields, I want to enter the value to be in the first , if the same value is entered in the second one, the match will be saved. otherwise error.

Best Answer chosen by Priyanshu Singh
Sitanshu TripathiSitanshu Tripathi
Hi Priyanshu, 
Please create a Validation rule like this
Validation = IF( Email_1__c != Email__c , true, false)

Please mark if it is working for you.
Kind Regards,
Sitanshu