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
Lavanya Ponniah 3Lavanya Ponniah 3 

Whenever i create a new record make phone as mandatory for first time only once we edit and delete the phone data it should not show the error how to do that?

Matthew MorrisMatthew Morris
Hi Lavanya,

You should be able to make use of the ISNEW() function in your formula to condition the validation logic.
More details here : https://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_functions.htm

HTH
Lavanya Ponniah 3Lavanya Ponniah 3
Thank u so much.

Matthew MorrisMatthew Morris
You're welcome!