Difficulty finding correct conditions for showing/hiding feedback

I’m having trouble unwinding the logic needed to connect feedback with resets on answers.
I have a set of textInput elements on a graph, and then connect them with an answer outside the graph. Try this link: [Doenet] The inputs work, and the condition checking work, and I have conditional feedback for the various answer components, but once a feedback box shows up, I can’t figure out the logic to have it not show up.
I was working on a “$ShowFeedback” variable, but when i use a triggerSet to reset the answers, input variables, etc., the feedback just sticks around.
Discerning how answer state variables work is not easy.

Thanks for the help.

OK - After a lot of experimentation, this is what sort of works:
in the feedback, don’t trigger when the answer, but use a condition variable that looks like:
boolean name=“ShowFeedback”>$AnswerVarName.creditAchieved != 1 and $AnswerVarName.responseHasBeenSubmitted /boolean>

Then the condition for each of the feedback elements is the ‘and’ of $ShowFeedback and the other conditions when it should show up.

Then add some triggerSet logic for when the feedback should get turned off:
updateValue target=“$AnswerVarName.creditAchieved” newValue=“0”/>
updateValue target=“$AnswerVarName.responseHasBeenSubmitted” type=“boolean” newValue=“false”/>

I’ll work through the test cases and see if i broke something else. Ideas and improvements are still welcome.

And many thank you’s to @Chrissy_Safranski and @Duane_Nykamp for their posts and replies on a vaguely similar issue on Feedback and Tables.