guru2000
Scholar

Show/Hide controls based on the user

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

0 Kudos
Reply
2 Replies
irenelewis94
Novice

Re: Show/Hide controls based on the user

Not really sure about this!

0 Kudos
Reply
bgarvey
Apprentice

Re: Show/Hide controls based on the user

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.
0 Kudos
Reply