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
jchenjchen 

How do I retrieve string value of a single select picklist?

Hello guys,
I am trying to make a validation rule to validate whether the person select the value in a picklist is 2 characters long. I am thinking of something like
 
Len(GetStringValueOfPicklist(feild)) = 2.
 
There is no such function to use. Is there any other options?
Thank you.
RickyGRickyG
You could certainly use ISPICKVAL to determine if the value of the picklist was any number of specific values, so you could check to see if the value was a specific value or values.

Hope this helps.