AnsweredAssumed Answered

Contains Function for a Validation Rule

Question asked by kmccool on May 25, 2016
Latest reply on May 26, 2016 by kmccool

Hi all,

I'm trying to create a validation rule on a person or group form field to keep users from selecting certain AD accounts like contractors and admin accounts.


I see this runtime function "contains" I was thinking I would write the formula with this like =contains(string, element).

In this example, what is the string and what is the element? I've tried it with the person or group field as the string and the word I would like to exclude "CONTRACTOR" as the element and visa versa.

I'm sure I'm just doing it wrong.


Could any of you give me some pointers?