Hey everyone,
I’m currently working on a project where I have a button with specific actions tied to it. The goal is to toggle between different widgets based on their visibility status. However, I seem to be encountering some unexpected behavior, and I was hoping to get some assistance in troubleshooting the issue.
Here’s the scenario:
-
Button Press : When the button is pressed, the logic is designed to show Widget-01(inline error) if it’s hidden. Its based on a logic with empty field in repeater.
-
When Widget-01 is visible, it should also show Widget-02 (page-error) also.
Now, I’ve implemented this logic, but things aren’t working as expected.
Widget-01 appears after button press, with Widget-02
but when I update the rows with field Widget-01 disappears as expected but not Widget-02.
I’ve checked my code thoroughly, but I’m clearly missing something. If anyone has experience with this kind of situation or sees any potential issues in the code provided, I’d greatly appreciate your insights.
Any suggestions, ideas, or alternative approaches to achieving this widget toggling functionality would be incredibly helpful! Thanks in advance for your time and assistance.
Jo