I have three fields that I want to restrict based on a number of conditions, the fields are;
Comments (multiple text)
I want to enable these if the user is a member of either of two SharePoint groups or named in a people field earlier in the form. I've tried various nested If statements but can't seem to get anything other than the first group to work.
Any pointers would be much appreciated.
WOrking for me with :
Enable : Expression
Expression : fn-Or(fn-IsMemberOfGroup("Group1"),fn-IsMemberOfGroup("Group2"))
As you have found out, nested If statements don't work in Nintex forms. It would be nice if they did! You could try to add a text field to the form with a name and put your Sharepoint group membership or statement in there as the default value. then use your rule to compare the result of that outcome to your people form control. Are you only allowing one entry in the people control, as this would affect the logic, if more than one entry was allowed.