Skip to main content

Hi all,

I have an issue with a Form I have created.

The first request for the Form was to create a (multiple) Panel only turns up if a User is in a specific group and the Form has a specific Status.

 

So I have created a Rule which looks like this:

 

or(not((fn-IsMemberOfGroup("GroupA"))),not(contains(Status,"ValueOfStatus")))

 

which is working fine. Then a new request turn up that there should be one group which can alway edit the panel regardless of the Status. However everything I tried to append to the existing rule it bugs my whole form with all the panels (e.g. hidden fields turns up which only should be shown if a box is ticked).

I have tried something like this:

or(not((fn-IsMemberOfGroup("GroupA"))),not(contains(Status,"ValueOfStatus)))
|| not((fn-IsMemberOfGroup("MasterGroup"))

 

Any help is highly appreciated

Have you tried something like,
not(or(fn-IsMemberOfGroup("MasterGroup"),or(fn-IsMemberOfGroup("GroupA"),contains(Status,"ValueOfStatus))))

Hi Simon,



 



thanks a lot for the reply. I am happy as it works with your solution, except I had to change one "or" to "and":



not(or(fn-IsMemberOfGroup("MasterGroup"),and(fn-IsMemberOfGroup("GroupA"),contains(Status,"ValueOfStatus))))



 



Thank you very much, you have saved my day ;)


Reply