Put the input box inside a group. Give the group a number variable and set the initial content of the input to the group’s variable. When the input value changes, run a workflow that sets the value of the variable to the negative of the input’s value. Then in the same workflow reset the the group.