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

How to use Multiple conditions for a single control in New and Edit Mode

Jump to solution

Has anyone coming up with a solution to initially have a field available conditionally and after submission being able to disable the same control for editing based on a rule

In the example below I used a field called Ranking able to display either Food or Drinks Input selection.

After submission I want to make the same control disabled for editing only allowed by Admins.

I have created 2 rules (Hide and a second one for Disable on the same panel) on the same panel and that works.

Is this the recommended way of doing this ?

Found a solution for selectively disabling a control based on sharePoint Group membership:

Although not present in the formula builder below seems to work:

not(fn-IsMemberOfGroup("Your SharePoint Group Name"))

Regards

Jaap

Labels: (1)
Tags (1)
0 Kudos
Reply
3 Replies
Highlighted
Automation Master
Automation Master

Re: How to use Multiple conditions for a single control in New and Edit Mode

Jump to solution

I would create an additional field to keep a true/false information whether the form is sent already or not. Then based on the value of the field I would create a rule whether or not to disable/enable your control

So yes - I would add a second formatting rule.

Regards,

Tomasz

View solution in original post

Reply
Highlighted
Nintex Newbie

Re: How to use Multiple conditions for a single control in New and Edit Mode

Jump to solution

Thanks Tomasz for your advise.

Noticed also the solution for the Membership of a group, it's strange this isn't available in the formula builder (it was before I noticed that from earlier screenshots)

Regards

Jaap

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: How to use Multiple conditions for a single control in New and Edit Mode

Jump to solution

Err.. I might be wrong but fn-ismemberofgroup not a Runtime but Inline Function and should be declared as.. a string  

Here is a reference: http://help.nintex.com/en-US/O365/O365Forms/Reference%20other/Inline%20functions%20provided.htm

So you should be able to provide the function to make it work. You can look for other questions like this on the forum: https://community.nintex.com/search.jspa?q=fn-IsMemberOfGroup

Regards,

Tomasz

Reply