Skip to main content

Hi all,

I need to disable/enable panels within a form based on logic if a user is in a specific group.  So, if the user is in Group X, enable/disable all the panels.

I've seen a post that addresses this issue by setting the default value of a checkbox control.  (https://community.nintex.com/thread/2690)

This works for the first time the form is created, but does not seem to work for when the form is subsequently edited.  I need to be able to evaluate if the user is in a specific group everytime the form is opened, and then disable/enable the panels accordingly,

Thanks all for any help!

Cheers,

Troy

Hi ‌!

So, what you have so far is a hidden box somewhere on your form that evaluates whether or not a user IsMemberOfGroup(X), and populates ... and then a rule for each applicable panel that says "if hidden box says this person is not a member, hide this panel".

And the issue you're having is that if a user EDITS, it is showing the panels regardless.

Is that right? Just want to be clear of your method before I test.

Cheers!

Rhia


it's because it's based on default value settings which is only evaluated in NEW mode and only on form load.

you need to base the logic on rule(s) which are evaluated after every change.

I think this thread might help you

https://community.nintex.com/message/47656-re-hide-or-disable-fields-based-on-multiple-conditions?commentID=47656#commen… 


Thanks for responding Rhia and Marian.   Marian, the link you provided fixed my issue.  Although the fn-IsMemberOfGroup() function is not available as a Runtime Function option when configuring rules, you can still paste it in to the condition logic and it will work :-).  

Thanks again for your help!

Cheers,

Troy


Reply