I am creating an order form for the guys in our shop. The form includes calculations for rental rates, complete with subtotals, misc charges, and tax. Some of our clients are tax-exempt, though...so I'd like to disable the tax fields (which are added into the projected total fields via a formcalc script) if the tax exempt checkbox is checked.
I've tried the following script on the click event with no success:
if (this.rawValue == 1) {
dropDown1.access = "protected";
}
I have 3 subtotal fields, 3 tax fields and 3 projected total fields (each corresponding to the daily, weekly and monthly subtotals)
Ideally, I'd like the user to be able to see the taxes and have them added into the projected totals, but, if they check the tax exempt box, the tax fields (and their calculations) should be disabled/rendered as 0.
Any help would be appreciated.
George Kaiser