Update:
Changing the below question to a feature request.
In a nutshell: allowing us to set action based on visibility changes, i.e. what happens when a components becomes visible, or when it becomes hidden.
Thanks
Hi all,
I’ve read quite a few posts about the interactions between choice components and their visibility setting.
My question is focused on the choice fields which are hidden due to visibility configuration, all within a custom form.
Here’s an example:
First field/question - what is your age?
Second field/question - do you have a drivers license?
This question is visible only if you input an age higher than X.
The problem:
Assuming a user (by mistake, or not) inputted (or selected if pre-defined) an age higher than X and than answered question no.2.
Now the user realized they made a mistake with their age and change it to something lower than X. The second question indeed disappears from the screen, but the answer still remains. This answer might be used for other elements on the screen and/or post-submission processes.
The question:
Is there a question to reset this fields once it’s hidden again?
Let’s assume the value in this field was cleared when user pressed the button to enter the form in the first place. This means a “field reset” is actually a “clear value” action. If field has been pre-filled with any value (other than “clear”), I can assume it’ll be quite challenging to go back to this value once hidden.
I know that we can solve this with ITE columns and other workarounds, but was wondering if there’s a more elegant solution.
ITE and similar solutions try to overcome a situation in which we have irregular answers (such as a 10 years old with a drivers license). It forces us to predict and defuse any such situation. This can very easily turn into a headache, not to mention that it opens a door to irregularities we didn’t foresee. I’d like to know if we can avoid these irregularities altogether.
Thanks