Field visibility basing on 2 groups (by using OR)

  • 30 September 2021
  • 1 reply
  • 57 views

Hi,

I am trying to define condition for one field visibility in Nintex ShP form.

 

I tried to use below formulas, but it did not worked - field was visible for everyone with access to site, not members of those groups.

 

fn-Or(fn-IsMemberOfGroup('Group_1'),fn-IsMemberOfGroup("Group 2"))

fn-Or(fn-IsMemberOfGroup('Group_1'),fn-IsMemberOfGroup('Group 2'))

Or(fn-IsMemberOfGroup('Group_1'),fn-IsMemberOfGroup("Group 2"))

Or(fn-IsMemberOfGroup('Group_1'),fn-IsMemberOfGroup('Group 2'))

 

Could you advise what is wrong in above conditions and how proper logic shall be defined?

 

Regards

Bartek


1 reply

Badge +5

@BartekWu 



  1. Add the following Formula as a Default Value in a single line of text control :    fn-Or(fn-IsMemberOfGroup('Group 1'),fn-IsMemberOfGroup('Group 2'))

  2. Give the single line of text control a name "Condition"

  3. on the field you want to hide, add the following rule Condition == "True" then Hide

Reply