Resetting the variable
I'm following up with this conversation, because I'm in a similar pickle.
I have created a numeric entry variable. When the user leaves the layer, I want the variable to reset to zero.
To leave the layer, the user has to click outside of the displayed box.
In the trigger wizard, I adjust the numeric entry variable so that it is assigned to equal "0" when the user clicks outside of the displayed box (closing the layer; same conditions as above).
If I type in a value, click outside the displayed box (thus closing the layer), then open the layer again, the typed value remains.
Is there something else I should be doing?