These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Sum checkbox fields

ClayHouse
Registered: Nov 9 2007
Posts: 3

Please help me add a field to a page to sum checkbox fields.

So when that box is checked it has a value of 3 and that value will be added to a total field at the top of thae document and keep adding to the field as different check boxes are checked.

Thank you.

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
The exact code will depend on what product you used to create the form. Was it Acrobat or LiveCycle Designer?

For Acrobat Forms, the value of a check box when not checked is "Off" and when checked it is the export value. If you design your form correctly for looping, a simple loop and if statement to either sum the checked boxes or sum their export values.

For LiveCycle Designer, you can set the unchecked value to zero and the checked value to "3", and then you can use the "Sum()" function to total the check boxes.

George Kaiser

ClayHouse
Registered: Nov 9 2007
Posts: 3
gkaiseril wrote:
The exact code will depend on what product you used to create the form. Was it Acrobat or LiveCycle Designer?For Acrobat Forms, the value of a check box when not checked is "Off" and when checked it is the export value. If you design your form correctly for looping, a simple loop and if statement to either sum the checked boxes or sum their export values.

For LiveCycle Designer, you can set the unchecked value to zero and the checked value to "3", and then you can use the "Sum()" function to total the check boxes.
It is adobe. Is this like the excel visual basic?