Reset panel (clear all) when panel is hidden

  • 17 February 2021
  • 4 replies
  • 20 views

Badge +3

1. Is it possible with just Rules?

if not

2. Can someone point me to a good jQuery tutorial that does just that?

also

3. Wouldn't it be easier to just reload the whole thing?

 

Thank you!


4 replies

Userlevel 5
Badge +14

This is indeed doable with just the rules, and would be a lot faster than reloading the page. I assume you wanna just "clear out" the information input into any of the controls inside of a panel when it's hidden, however it would be incredibly helpful if you could include a screenshot of the Panel and Controls in question so that we can better understand how to approach it. 


 


 

Badge +3

Hello MegaJerk 🙂 


 


Here is the screenshot of the form. I have 3 choices at the top, and 3 panels that are hidden initially. Each panel has a set of choices and the next choice is displayed when the user answers a previous question. So, unnecessarily complicated but that's what client wanted. Right now I have selections clear with jQuery when the user selects a different Choice at the top. But I would love to know how to clear choices with Rules.


Userlevel 5
Badge +14

Are you using Responsive Forms or Classic? I can't tell from that screenshot.

Badge +3

This is classic (we have outdated tech).

Reply