How to make text field mandatory based on picklist value?

How to make text field mandatory based on picklist value?

Validation Rule to make text field mandatory based on picklist value selected. eg:- If i had a picklist if i select a “High” then a text box must become required and print a message. As @Samuel asked, it’s better if you can give more info.

When to use includes in multi select picklist?

For checking a value in multi select picklist, you will have to use INCLUDES Your validation rule should be like this IF (AND (INCLUDES (Environment_Access__c, ‘DevQA’), ISBLANK (Business_Justification__c)), true, false)

How to check if a picklist value is blank?

You can put the value – None – (mark this as default) in all the picklists A B C D and E and then write a validation rule to check if the values in A, B & C are not equal to -None – then another field cannot be blank using ISBLANK () check the value of this field you wish to be filled by user. Thanks so much guys!

When to use includes or includes in Validation rule?

First of all, you can always replace IF (condition, true, false) with just condition. Second, you need to use INCLUDES rather than TEXT. You can check this link for further help.

When do I need to use a Validation rule?

Validation rule. If picklist value is x or y, require a Text field I’m trying to set up a validation rule so that if the Picklist value is equal to X or Y, then a Text field must be not be null. but the syntax check returns this error: ” Incorrect number of parameters for function ISPICKVAL ().

When is a picklist value selected prevents checkbox from being checked?

Validation Rule: When a picklist value is selected, prevents checkbox from being checked – Salesforce Developer Community Validation Rule: When a picklist value is selected, prevents checkbox from being checked

When does the division field become mandatory in Salesforce?

I need the Division field to become mandatory if the Primary department picklist equals “Medicine”, “Surgery”, or “Pediatrics”. AND ( ISPICKVAL (OtherPicklist__c, “”), 1 = CASE (…) ) Thanks for contributing an answer to Salesforce Stack Exchange! Please be sure to answer the question.