I have a form that I am creating in Livecycle Designer 8.0 that has 100 checkboxes that the user selects from. I would like to have a field that counts how many check boxes are checked. What is the easiest way to do this?
Also, Do I have to add each field individually or is there a way to select them all and insert to the formula at once?
You can write a script that will query the number of objects in the form. Once you have that you can get each object one by one and see which type of object it is. If it is a checkbox you can see if it is checked or not. If checked then you can add it to your counter. If you send me your form I will incorporate it into a button event for you to see.
Big thanks out to Paul Guerette for helping me write the script for this. He gave me an option to do it as an exit event of the pages or on a button click. Here is the code for the button click: