Add up values when the check box is selected
I have a form that I am trying to sum up a total of seven lines, but only have them total if the check box next to the value is clicked. How do I do this?
I do not have them in a table, this is just for easy display of the form I created.
TABLE Example:
| CHECK BOX | ITEM | VALUE |
|---|---|---|
| X | ITEM1 | 1 |
| X | ITEM2 | 1 |
| X | ITEM3 | 1 |
| X | ITEM4 | 1 |
| X | ITEM5 | 1 |
| X | ITEM6 | 1 |
| X | ITEM7 | 1 |
| DOES NOT HAVE CHECK BOX, JUST A SUM OF CHECKED BOXES | TOTAL | SUM OF ABOVE LINES IF CHECK BOX IS SELECTED |
