Avatar

Correct answer by
Level 7

I would put the following in the change event of each taxable checkbox (in formcalc):

if ($ == 1) then

tax = tax + (amount * 0.0825)

elseif ($ ==0) then

tax = tax - (amount * 0.0825)

endif

(where 'tax' is whatever you have called your total tax box and 'amount' is whatever you have called your unit price box).

View solution in original post