Replies: 1 comment 3 replies
-
Set the value of each one for |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, wanted to ask for some guidance as to the best way to uncheck checkboxes dependent on a single one. For example, I have checkboxes in different sections, some are multi-checkboxes (Arrays) and others are single checkboxes (Booleans). When a user checks the
unsubscribe
checkbox, if its true, then I want to uncheck all the other checkboxes if they are checked. I'm trying to figure out the best way to approach this, but don't see a clear path in how to update the forms value programmatically after a check event. The following is an example of the structure I currently have. With the following code, how could I update the checkbox values? Should I use sections-schema, event listeners on each input, etc?Beta Was this translation helpful? Give feedback.
All reactions