I am using this formula with return type checkbox, problem is if the field is blank it returns true to the checkbox. Not sure how to keep the box from being checked if it is blank.
CONTAINS("KY:MD:MI:MN:MS:MT:NY:OK",Account.BillingState)
6 answers
Try adding a NOT ISBLANK
AND(
NOT(ISBLANK(Account.BillingState)),
CONTAINS('KY:MD:MI:MN:MS:MT:NY:OK',Account.BillingState)
)
or
AND(
LEN(Account.BillingState) = 2,
CONTAINS('KY:MD:MI:MN:MS:MT:NY:OK',Account.BillingState)
)