And if it's not checked?
Then the 'Cost' text field is blank w/no value.
Sent from my iPhone
Then you can use something like this as the custom caluclation code of COST:
var XYZ = this.getField("XYZ").value;
var ABC = +this.getField("ABC").value;
event.value = (XYZ=="Yes") ? (ABC * 0.05) : "";
Thanks! But there's two things: 1) I have two of these "check boxes" and have named them each properly; however, only one works. Do you know why? 2) When I click on the check box, it works; however, when I click it off, the cost is still there.
“Love is like pi - natural, irrational, and very important.”