In the app I developed for a company working with children with eating disorders, therapists use it during sessions. They document each action’s outcome, including interactions like touching, smelling, kissing, licking, and eating. For actions other than eating, the therapists select “accept,” and I’ve hidden the “clean” option. However, for eating actions, they can choose both “accept” and “clean.” The issue I’m encountering is that when they initially select “eat” with both “accept” and “clean” and then go back to actions like touch or smell, the “clean” flag remains selected in the backend. I’m using a checkbox component, and I’m struggling to figure out how to clear this flag. Any suggestions or insights would be greatly appreciated.
I think you can’t do it with the current setup. You can’t add an action with a “choice” action. Maybe you would have to add an on-submit action to clear the wrong underlying backend value(s) when “Level” is not “Eat”.