Show/Hide controls based on the user

  • 4 August 2021
  • 2 replies
  • 165 views

Badge +6

I created a Nintex form in SP 2016. The list has a field called, "Contact User." The Nintex form has a few command buttons. I want hide certain command buttons if a user other than the one listed in 
"Contact user" edits the form.

 

How do I accomplish this. Is there a built in function? Should I use a workflow? Appreciate your help.

 

Mayank


2 replies

Not really sure about this!

Userlevel 1
Badge +8
Place a rule on the field along the lines of (using the rule function builder):
not(equals(Current User,ContactUser))
then Hide or Disable
you can type not(equals(,)) then insert "Current User" before the comma using the Common tab in the form builder, and insert ContactUser from the Named Controls tab in the form builder.

The logic being if the two values are not equal (returns "true") the rule to Hide or Disable is invoked.

Reply