Copy link to clipboard
Copied
How do I count the number of checkboxes that have been checked in an Adobe Sign template? My form is currently in Adobe Acrobat and counting works. This does not carry over when the form is converted to a template and I can't figure out the correct syntax under "Calculate Field" in Adobe Sign.
This is what is being using in Acrobat, but I can't get it to work in Adobe Sign.
var nSum = 0;var aCkFlds = this.getField("day").getArray();for(var i=0;i<aCkFlds.length;i++){if(aCkFlds[i].isBoxChecked(0))nSum++;}event.value = nSum;
Have something to add?