Skip to main content
Nintex Community Menu Bar
Solved

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

  • January 25, 2017
  • 3 replies
  • 305 views

Forum|alt.badge.img+6

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

Best answer by TomaszPoszytek

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 original
Translate
Did this topic help you find an answer to your question?

TomaszPoszytek
Forum|alt.badge.img+17

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

Translate

Forum|alt.badge.img+6

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

Translate

TomaszPoszytek
Forum|alt.badge.img+17

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

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings