Expand my Community achievements bar.

Assign value to check box...

Avatar

Level 4

I want to assign a numeric value to a check box so that when it is checked, the assigned value is added to a total box.

2 Replies

Avatar

Level 4

What you might want to do is either create an action in the Action Builder where when the checkbox is checked, the value of a hidden numeric field is set to 1 or if you know how to script you could just type it in. Then create the remaining hidden numeric fields for each checkbox and finally in your total box just add up the hidden fields.

Avatar

Level 6

Set the "On" value of each checkbox using the Binding tab of the Object pallette.

In your total box use FormCalc: 

Sum(CheckBox[*]).

Assumes all check boxes are named the same.