hi! I'm new with scripts and tried to google to find the answer, but am at a loss.
I have 3 checkboxes (named: Check Box1, Check Box2, and Check Box3) that populate a corresponding textfield with a specific numeric value associated with that textfield.
My problem is I have a 4th textfield that I want I would like to sum the textfields that are populated based off the checkboxes. The issue I am having is that the Total function, doesn't recognize when one of the textfields is not populates, it adds that value in the total even if the checkbox is not checked.
Code I used for the checkboxes:
var nHide = event.target.isBoxChecked(0)?display.visible:display.hidden; this.getField("Apple").display = nHide;