I have a set of check boxes [1, 2, 3, 4] that correspond with a set of text boxes [1txt, 2txt, 3txt, 4txt]. I am using the sum function to add the values of the text boxes together and a format rule to display the text box if that corresponding check box is checked. Example 1 is checked so 1txt appears, if 1 and 2 are checked 1txt and 2txt appear and the values are added. Where I'm running into a problem is that when the check box is unchecked I need to set the value of the text box to 0 so it is not still being added to the total.
Any suggestions would be appreciated, thank you,