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
KMK91KMK91 

Validation Rule on Contact

Hi All,

Account assosciated contact object need to create only one Record when status is Lead Source = web and other picklist values  can allow create records in contact object. How to write validation  for this?Please suggest me on this.

Thanks
KMK
Ram Chand HeerekarRam Chand Heerekar
Hi KMK91,

validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record. and as per my knowledge i don't think you can do this sort of functionality
Agustin BAgustin B
HI KMK91, you cant do this with validation rules sadly.
You will have to write a before insert trigger.

If it helps please mark as correct, it may help others