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
SasszzSasszz 

how to limit picklist value selection

after selecting a picklist value for three times, how to disable it ?
example
picklist value for selection__C  are 
1
2
3
if the picklist value "1" should be  picked and saved only for 3 record. for the 4th record it should be at disabled
Raj VakatiRaj Vakati
You have to create a custom fields and apex trigger to do it  

Like .. create a different field to store how many time the picklist value is selected and keep updating the custom fields value based on selected picklist .. 

Write a validation rule  or trigger to prevent the value not select more than values