I have a requirement where I have to create a custom Adaptive form component (accordion). I did the following:
1. Created cq:component that extends "fd/af/components/guidefield"
2. Added init.jsp, widget.jsp and cq:template
Now, I dragged and dropped the above component to the panel within Adaptive form Fragment
Any rule applied to the component which is being added to the accordion panel (highlighted in bold in widget.html) doesn't work.
In the above screenshot, highlighted is the custom accordion component. Requirement is to whenever user selects option "Yes", the textfield above it hides. Below is the snapshot of the rule.
But it didn't worked. I also tried applying the rule on the textbox not contained within the custom component but that also didn't worked.
Going by a comment in one of the previous post where you mentioned that it is not working outside the custom component as well, can you please attach the custom accordion package here(if possible) and secondly use OOTB accordion and check for the similar rule.
Please confirm your AEM forms version and the CFP level as well.