Forms Designer: evaluating functions with multiple conditions

  • 15 January 2020
  • 1 reply
  • 2 views

Badge

I am trying to use the fn-Or function, but I need to evaluate more than 2 conditions. Is that possible? Do I need to figure out how to nest them somehow? 

 

For example, in the field Control Settings, I want enable a field using an expression for only 1 group and 2 additional people who are not in that group. If it were only two conditions, I would use: fn-Or(fn-IsMemberOfGroup(Admin), fn-IsCurrentUser(TEST_ACCOUNT))

 

But how do I add the additional fn-IsCurrentUser(TEST_ACCOUNT_2) condition to the statement above?

 

Many thanks in advance!


1 reply

Userlevel 6
Badge +22
Does something like this work for you?
fn-Or(fn-IsMemberOfGroup(Admin), fn-Or(fn-IsCurrentUser(TEST_ACCOUNT),fn-IsCurrentUser(TEST_ACCOUNT_2)))

Reply