You need to sign in to do that
Don't have an account?

How to use CONTAINS in picklist field using formulas?
Hi Guys,
I want to write a validation in one object. I will have to write on picklist(ISPICKVAL) but i need to implement contains function in picklist field and how to write that. Please provide me some examples.
Thanks,
Mahesh.
I want to write a validation in one object. I will have to write on picklist(ISPICKVAL) but i need to implement contains function in picklist field and how to write that. Please provide me some examples.
Thanks,
Mahesh.
Please check below post.
https://help.salesforce.com/apex/HTViewHelpDoc?id=tips_for_using_picklist_formula_fields.htm&language=en_US (https://help.salesforce.com/apex/HTViewHelpDoc?id=tips_for_using_picklist_formula_fields.htm&language=en_US)
Please let us know if this will help you
Thanks
Amit Chaudhary
All Answers
You can check like this:
where texttocheck is the string you want to check in the picklist value. Please let me know if you have any doubts.
Thanks!
Please check below post.
https://help.salesforce.com/apex/HTViewHelpDoc?id=tips_for_using_picklist_formula_fields.htm&language=en_US (https://help.salesforce.com/apex/HTViewHelpDoc?id=tips_for_using_picklist_formula_fields.htm&language=en_US)
Please let us know if this will help you
Thanks
Amit Chaudhary
For deep understanding and real-time use cases of ISPICKVAL, INCLUDES, AND CONTAINS, you can refer here (http://salesforcebitsandbytes.com/when-to-use-ispickval-includes-and-contains-in-the-salesforce/)