I have an Acrobat numeric form field which contains a calculated value. The value is not "read only".
There are a pair of radio buttons, which toggle (same name; different export values).
When I press Button A, I want to add $3 to the value of an the numeric form field. When I press Button B, I want to add $5 to the value of the numeric field.
When the form loads, the buttons both need to be blank. Then whichever one is pressed will perform as above.
However, if the user changes his mind and selects the alternate button after already making a selection, the script has to subtract out the button being blurred before adding in the value from the button getting the focus.
Is this possible, or is there a better way to solve the problem of adding in one of two supplemental values to the numeric field?