Auto calculate field when check box is ticked.
Hoping someone can help with what I'm sure is a very basic function (probably hundreds of threads already written, just can't find them).
So I have a [text field] that calculates a 10% GST value [GST Value] based on a value in a preceding text box [Total Value]. This works fine, and the script for this looks like this:
event.value = Number(this.getField("Total Value").valueAsString) / 11;
However, I only want this calculation to run (show) if a check box is ticked [GST Check Box]. How do I go about this?
