You need to sign in to do that
Don't have an account?
ZezoOne
Need help with a validation rule to make a checkbox req'd if certain picklist value is specified
Hi everyone...
This is prolly a fairly common newbie question, but I need to find out how I can make a checkbox required if a value from a custom picklist is specified using validation rules.
Basically, I have a checkbox called "Pre_Traffic_IPID_c" and a picklist called "Tier_I_Site_c". I want to make it so that when a BD rep selects value=YES from "Tier_I_Site_c", the checkbox "Pre_Traffic_IPID_c" becomes required.
Here is the formula I am trying to use, but it doesn't seem to work:
AND ( Pre_Traffic_IPID__c , ISPICKVAL( Tier_I_Site__c , "YES"))
Can someone please give me a hand? (I suck at these things right now, so any and all help would be greatly appreciated)
This is prolly a fairly common newbie question, but I need to find out how I can make a checkbox required if a value from a custom picklist is specified using validation rules.
Basically, I have a checkbox called "Pre_Traffic_IPID_c" and a picklist called "Tier_I_Site_c". I want to make it so that when a BD rep selects value=YES from "Tier_I_Site_c", the checkbox "Pre_Traffic_IPID_c" becomes required.
Here is the formula I am trying to use, but it doesn't seem to work:
AND ( Pre_Traffic_IPID__c , ISPICKVAL( Tier_I_Site__c , "YES"))
Can someone please give me a hand? (I suck at these things right now, so any and all help would be greatly appreciated)
Code:
Many thanks for the quick response! That did the trick!
Thanks again!
but I have a complication. I don't care WHEN the box is checked, but it has to be checked before you can move from Stage 2 to Stage 3 in our "Stage" field.
I have similiar question but its a reverse. I want it when on a recordtype, when someone checkmarks the field they must select a certain text from a picklist otherwise they cant save it. Thanks
ju6034
Validation rules are evaluated when the record is saved. It the validation formula evaluated to TRUE, the save is prevented and the error message is displayed. If I undersatnd your requirement you want the save to be prevented if: the record type is a particular value, and a checkbox field is checked, and a certain picklist value is not selected. If that is so a formula where all three conditions are true would be like this
AND(
Thanks for the information, I tried it but i get a syntax error for a missing ')'. I tried adding the missing ) but for some reason I am not able to get it correct. Here is the formula below:
AND(
RecordTypeID=01270000000DgCU,X340B_Manager__c,NOT(ISPICKVAL(X340B_Eligibility__c,"340B Eligible,
Participating" ))
)
I withdraw my comments. go with Jakester who answered your duplicate post
http://community.salesforce.com/sforce/board/message?board.id=custom_formula&thread.id=2634