Hello, I have two buttons. One to add, the other to cancel. I would like the cancel button to appear after clicking add, and at the same time the add button should disappear, and vice versa, if I click cancel, cancel disappears and add appears.
So far, I've been doing it this way: I set a variable in the Visibility of the add button
addVis
and a variable in the cancel button
cancVis
in the on select add button
UpdateContext({addVis:false});;
UpdateContext({cancVis:!cancVis});;
in the on select cancel button
UpdateContext({cancVis:false});;
UpdateContext({addVis:!addVis});;
but there is some mix-up of buttons after starting