I have a form with multiple groups that contain lots of fields. The groups are show/hide based on a parent checkbox being selected. I want to reset all fields within a group if the parent gets unchecked.
Let's say in this scenario:
User checks the "soda" checkbox which reveals three grouped fields related to soda. In one of those sub-fields, the user chooses "Coke".
Then the user unchecks the "soda" checkbox.
When they submit the form, "Coke" is still an entry. I want all the fields in the group to be reset to the default when the parent is unchecked (hopefully without having to write the rule to reset each field manually).