This is what i mean: (two problems)
First - I have a spreadsheet type form which ultimately adds the GST (tax canadian style)to the total. But i need to add a checkbox which if clicked will render the tax field as '0' - hence not adding tax. What can you recommend for the function where the tax is otherwise being calculated all the time.
Something like (which obviously isn't working)
if {
form.checkbox.value = "checked"
form.taxfield.value = "0"
}
Second - it is necessary for every form field to round to two decimal places, as in a monitary amount. Being sure not to round up to the next dollar amount! And i would like to try to put these two solutions together.
Thanks so much,
DES
First - I have a spreadsheet type form which ultimately adds the GST (tax canadian style)to the total. But i need to add a checkbox which if clicked will render the tax field as '0' - hence not adding tax. What can you recommend for the function where the tax is otherwise being calculated all the time.
Something like (which obviously isn't working)
if {
form.checkbox.value = "checked"
form.taxfield.value = "0"
}
Second - it is necessary for every form field to round to two decimal places, as in a monitary amount. Being sure not to round up to the next dollar amount! And i would like to try to put these two solutions together.
Thanks so much,
DES