August 30, 2022 at 22:34 #36077Andrew NeillParticipant
It’s my first time posting, but I’ve been using DFFS for a while. Thank you for all your work on this great tool.
I think I may have found a bug related to rules. I’m using the trigger “SharePoint group membership: Logged in user is member of group”, which validates on “Form load and field change”. The rule is supposed to make certain fields visible to members of a group. I’ve tested the rule by adding and removing myself from the group entered under “This value”; however, the fields associated with the rule remain visible whether or not I’m in the group.
When I tried adjusting the rule to make the target fields hidden rather than visible, the rule worked. When I added myself to the group, the fields became hidden; when I removed myself, the fields became visible.
I believe there’s an error when using the trigger I noted and the “Visible fields” result. I’ve attached a screenshot of my rule configuration. Would you please look into this?
Here’s my DFFS version info:
v126.96.36.199 – July 18, 2022|CSS version: 4.51 / 4.51 |spjs-utility version: 1.356|Loader version: v1
August 31, 2022 at 16:05 #36079Alexander BautzKeymaster
Welcome to the forum!
I’ll try to recreate this issue, but I’m wondering if you might have other rules that addresses the same fields? – there could be some interfering if you have multiple rules targeting the same fields.
August 31, 2022 at 18:34 #36081SteveEParticipant
I think I’ve kind of seen this before and solved it by doing the inverse “if NOT in this group” and then hiding the fields. Not sure why it happens like that but it was easier to just invert my thought process and rule.
September 1, 2022 at 15:52 #36082Alexander BautzKeymaster
OK, thanks for the clarification – I’ll look into in in the next version.
September 1, 2022 at 16:56 #36083Andrew NeillParticipant
Steve – Thank you for this suggestion. I tried inverting the rule, and it worked!
– Trigger: SharePoint group membership: Logged in user is NOT member of group
– Hidden fields
Alexander – When I tested the original rule configuration (user IS member of group / visible fields), I tried disabling my other rules that address the same fields, and it had no effect. The target fields remained visible whether or not I was in the group. Also, the other rules don’t affect the visibility of the target fields.
Please let me know if you have any other questions. Thank you for looking into this in future versions.
- You must be logged in to reply to this topic.