Sales Tax Calculation
I have radio buttons, YES and NO for a taxable field. I also have a sales_tax_rate field and a sales_tax field which is calculated to be:
If ( taxable = "Yes" ; sales_tax = (amount * sales_tax_rate) ; 0 )
BUT no matter which radio button I choose I get 0 for the sales tax. For testing purposes, I changed the false value to 5 and indeed I get 5 if the NO radio button is selected, but I still get 0 when the YES button is selected.
Why is this not calculating the sales tax properly?