cancel
Showing results for 
Search instead for 
Did you mean: 
vishnu
Nintex Newbie

Disable Fields inside the Forms based on Permissions

Jump to solution

Hello,

I have a (Nintex 2013)form with the status field. When the users fill out the form, the status field should be disabled initially. If they try to review the submitted form, then again they should not have the ability to edit the status field inside the Form. Only admins should have the ability to change the status field. Please guide me to achieve this.

Reply
9 Replies
Automation Master
Automation Master

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

Hi

To achieve this there are two parts:

1) The SharePoint Groups

  • Ensure that your Admins are in a particular group - such as the Site Owners, or "Form Admins", and that all other users are not in this group. 

2) The Form

  • Click on your Status Field, and then click on "Add Rule".
  • Choose "Formatting", and click the "Disable" checkbox.
  • Your rule will be  {CurrentUser} != isMemberOfGroup("Site Owners")   (for example)

The form will ask itself, "is the Current User a member of Site Owners? if not, I'll disable this field. If yes, then I'll let them use it."

Does this make sense for your situation?

Cheers,

Rhia

Reply
bashyarajan
Nintex Newbie

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

Hi Vishnu,

            You can use Nintex Form Rules to achieve this.

All you have to do is , Select the control and Add rule to it.

rules2.png

Please See this for further understanding : Show or hide controls with Rules in Nintex Forms  

0 Kudos
Reply
Automation Master
Automation Master

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

I don't think this answers his requirement for admins to be able to access.

0 Kudos
Reply
vishnu
Nintex Newbie

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

Hi Rhia,

It worked. Thanks for sharing the details. I appreciate your help.

Thanks,

Vishnu

0 Kudos
Reply
vishnu
Nintex Newbie

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

Thanks for the Input Bashya. My Issue has been resolved now. I followed Rhia's approach.

0 Kudos
Reply
Automation Master
Automation Master

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

I'm glad to hear that! Please mark my answer as correct so others can learn as well  

0 Kudos
Reply
surendramourya
Nintex Newbie

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

Hi,

I found inline functions(isMemberOfGroup) is not available when we add rules. I am using nintex form 2016

I am new to nintex, and stuck in situation where I have four panel arranged tab wise, with all having different field. 

I need to disable the fields of first tab not hide them, when the user is not present in particular sharepoint group.

Any help will be appreciated.

Regards,

Surendra

Reply
bimi82
Nintex Newbie

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

I am also running Nintex 2016 on premise and isMemberOfGroup is missing.
The function is available on 365 I believe.

Reply
dale_black
Nintex Newbie

Re: Disable Fields inside the Forms based on Permissions

Jump to solution

If you need to disable a field based on more than one permission group, it is best to use an expression formula in the control settings, rather than use a rule.

   Go into the Control Settings and expand "Appearance".

       To the right of "Enabled", select 'Expression'. 

            Formulate the expression to look like this (for two groups):

               fn-Or(fn-IsMemberOfGroup("NameOfGroupOne"),fn-IsMemberOfGroup("NameOfGroupTwo"))

Hope this helps at least somebody.

0 Kudos
Reply