koolgeex
Rookie

Only Show Panel if Current User = Name Entered in Field

Jump to solution

I have a form that a user would come fill out to nominate a fellow employee. On the form, the user will enter the name of the employee's manager. The manager then needs to edit the form to approve the request.

So i have a panel on the form that contains the approval radio buttons. I would only like to show this panel to the name that was entered as the manager.

I tried to set an expression on the panel to only show if "Current User == NomineeManager" but that didn't work.

What am I missing?

0 Kudos
Reply
4 Replies
cassymfreeman

Re: Only Show Panel if Current User = Name Entered in Field

Jump to solution

working exactly this myself right now!

I have a rule called "Hide if not S&I Manager" which resides on the control (or panel) I want to hide.

Rule Type = Formatting

Condition = HideIfNotManager.PNG

then tick Hide

Reply
koolgeex
Rookie

Re: Only Show Panel if Current User = Name Entered in Field

Jump to solution

In your example, what is "PreferredName". Is that a Named Control? Cassy Freeman

0 Kudos
Reply
cassymfreeman

Re: Only Show Panel if Current User = Name Entered in Field

Jump to solution

it's an attribute in the user profile service (that should be the same for you)

0 Kudos
Reply
koolgeex
Rookie

Re: Only Show Panel if Current User = Name Entered in Field

Jump to solution

Right on! That did the trick!!

Reply