Skip to main content
Nintex Community Menu Bar
Solved

Two Appearance expression connecttion

  • November 22, 2022
  • 2 replies
  • 27 views
  • Translate

Hello,

I have a field and I would like to set two bolean in the Appearance settings of the field. Two two condition is working separately but I would like to connect them

First - IsEditMode

Second - fn-Equals(name,Currentuser)

I tried the following variations:

fn-And(fn-Equals(name,Current User),Is Edit Mode)

fn-Equals(Name,Current User) && Is Edit Mode

Thank you

Best answer by Jake

Hi,

can you try the below:

[Is Edit Mode]&&Name==[Current User]

Edit:

I have taken a look into this for you an if you are using rules to show and hide a field I think there are 2 issues, one is the use of fn- and also you need to work in the negative.

For example, to show the field if User=Current User and form is Edit mode you need the following rule.

Assuming that 'user' is a people field.

and(not(equals(User,[Current User(Login ID)])),or([Is Display Mode],[Is New Mode]))

If the rule is to hide the control if User=Current user and form is Edit mode you need the following rule.

and(equals(User,[Current User(Login ID)]),[Is Edit Mode])

View original
Did this topic help you find an answer to your question?

2 replies

Jake
Forum|alt.badge.img+13
  • Scholar
  • 319 replies
  • Answer
  • November 22, 2022

Hi,

can you try the below:

[Is Edit Mode]&&Name==[Current User]

Edit:

I have taken a look into this for you an if you are using rules to show and hide a field I think there are 2 issues, one is the use of fn- and also you need to work in the negative.

For example, to show the field if User=Current User and form is Edit mode you need the following rule.

Assuming that 'user' is a people field.

and(not(equals(User,[Current User(Login ID)])),or([Is Display Mode],[Is New Mode]))

If the rule is to hide the control if User=Current user and form is Edit mode you need the following rule.

and(equals(User,[Current User(Login ID)]),[Is Edit Mode])

Translate

  • Author
  • Novice
  • 2 replies
  • November 22, 2022
works like a charm. thanks!
Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings