sturberg
Canvas Initiate

Hiding drop down values

Hello, I'm a beginner so bear with me! 

 

I have a drop down field with 4 values for pick from (A, B, C, D). But in my form, I only want to display A and B to the user. C and D can only be picked by the admin directly in the Sharepoint list. 

Is this possible in a responsive type form? 

 

Another quick question. Is it possible to display 2 different forms, based on the role of the user connected? 

Thanks. 

 

0 Kudos
Reply
6 Replies
VasanNaick
Nintex Employee
Nintex Employee

Re: Hiding drop down values

Hello @sturberg 

 

In my opinion, what I would do to achieve the outcome you want is to create two drop down lists. The first dropdown list would contain only the values required for the user, while the other drop down list would not be visible, then when the admin is using the form the drop down list applicable to them would be visible with the values pertaining to them while the previous dropdown list would not be visible.

0 Kudos
Reply
sturberg
Canvas Initiate

Re: Hiding drop down values

Hello @VasanNaick,

that wouldn't work, because we have 14 fields in this case. I cannot have 28 fields to handle that. 

Plus the idea is that the user is selecting a value, then the admin is confirming or not. 

 

 

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Hiding drop down values

@sturberg ...try below steps:

 

  1. Add your admins into Admin's SharePoint group
  2. Now you apply validation rule on your control using If statement. If the current user is not a member of Admin SP group and if the value from the dropdown selected is for admin then display the validation message.
0 Kudos
Reply
sturberg
Canvas Initiate

Re: Hiding drop down values

And where do I enter this validation rule? I don't have a field for that. Under the validation section for this field, I only have a dropdown list. Thanks.
0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Hiding drop down values

@sturberg you need to select the control on which you need to apply the validation and then click on create rule from the ribbon and then select validation and not formatting from the dropdown (right side there will be a rule configuration window)

0 Kudos
Reply
sturberg
Canvas Initiate

Re: Hiding drop down values

Looks like a nice workaround, but I don't know how to write that.
0 Kudos
Reply