cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Disable a Panel based on Group?

Jump to solution

Hi,

 

I am trying to set a panel in Nintex Forms as being disabled if a user is not a member of a particular Share Point group. Can this be done via the Rules pane? If so, what is the appropriate formula to use?

 

Thanks!

Labels: (2)
Tags (1)
0 Kudos
Reply
5 Replies
Workflow Hero

Re: Disable a Panel based on Group?

Jump to solution

Hi Nick,

there exits an inline function fn-IsMemberOfGroup(), but it seems that the function is not available for rules.

But You can use the function in the Appearance Control settings:

Hope that helps.

Manfred

Reply
Not applicable

Re: Disable a Panel based on Group?

Jump to solution

Thanks Manfred! However, I am not looking to hide the panel, just disable

it so that particular users cannot change the values. Do you know if there

is any type of formula I can put in the rule to accomplish this? Maybe

custom javascript?

Regards,

Nick

Nicholas Davern

Information Architect

Praxair Inc.

Nicholas_Davern@Praxair.com

Office Phone: +1 (716) 879-2318

P Making Our Planet More Productive

This e-mail, including any attachments, is intended solely for the person

or entity to which it is addressed and may contain confidential,

proprietary and/or non-public material. Except as stated above, any

review, re-transmission, dissemination or other use of, or taking of any

action in reliance upon this information by persons or entities other than

an intended recipient is prohibited. If you receive this in error, please

so notify the sender and delete the material from any media and destroy

any printouts or copies.

0 Kudos
Reply
Not applicable

Re: Disable a Panel based on Group?

Jump to solution

I am also looking how to disable a pane based on group access and Does any one has update on this post?

0 Kudos
Reply
Workflow Hero

Re: Disable a Panel based on Group?

Jump to solution

Hi Nick, hi Venu,

 

my solution is as follows:

 

I have a form with a panel named "test" which includes other controls. In my example a choice control.

Then I inserted a Yes/No control named "yesno".

Here I entered an expression for the default value: fn-IsNumeric("x") or fn-IsNumeric("2"). This was for test only. in your case You can replace fn-IsNumeric by fn-IsMemberOfGroup().

To not to show the Yes/No control I gave it the control css class invisible. Invisible is defined in custom css in form settings as ".invisible {visibility: hidden;}".

 

Now I can build a formatting rule for the panel to disable the panel: "not(yesno)". That's it!

Preview for fn-IsNumeric("x")

Preview for fn-IsNumeric("2")

 

Kind regards

 

Manfred

Reply
Workflow Hero

Re: Disable a Panel based on Group?

Jump to solution

Hi Manfred, this solution is just for the initial value of the yes/no control. After the form is submited it doesn't apply any more. Even if Nintex doens't propose you can use its function fn-IsMemberOfGroup("UserGroup") to hide or show a panel for example. Cheers

Reply