Show/Hide Fields Based on Checkbox Selection
So I've created a form with a Checkbox containing 3 options. I would
like different fields to be hidden/shown based on what selection the
user made. Thus, I created a deluge script similar to the one described
here: https://help.zoho.com/portal/en/community/topic/hide-or-show-multiple-fields. While
this method has worked in many ways, I've encountered some problems.
First, when a user tries to select more than one option from the
checkbox, none of the hidden fields that should be revealed are
shown. Is there a way to make this work?
Second, I want to keep all the fields hidden except for the
checkbox until an option is selected but have been unable to do so.
Now some of the same fields should appear under the different
options. When a field only needs to appear for one option, it works
fine but when I want to hide a field and have it show for either
option 2 or 3 it doesn't work. As in, I only see the field
appear for option 3 when it should also appear if I select option 2.
This occurs when I use if/else statements in my deluge script (like
in the example above). I have tried using if/else if/else if...,
if/else if [repeat], and just a series of if statements with no else
statement and have achieved different but erroneous results each time.
If someone could help, I'd greatly appreciate it. I've
been working on this a while now and getting a little frustrated. If
you need more details, let me know. Thanks in advance for any advice/suggestions!