0
count option-fields vs check-boxes
New Here
,
/t5/acrobat-sdk-discussions/count-option-fields-vs-check-boxes/td-p/12619038
Dec 27, 2021
Dec 27, 2021
Copy link to clipboard
Copied
I refer to the count-checkboxes code mentioned here.
I use Option-Fields instead to make only one activated checkbox valid.
How do I change the code to "read" all option-fields?
var nSum = 0;var aCkFlds = this.getField("checkn").getArray();for(var i=0;i<aCkFlds.length;i++){if(aCkFlds[i].isBoxChecked(0))nSum++;}event.value = nSum;
TOPICS
Windows
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
FistTechnik
AUTHOR
New Here
,
/t5/acrobat-sdk-discussions/count-option-fields-vs-check-boxes/m-p/12619329#M88415
Dec 27, 2021
Dec 27, 2021
Copy link to clipboard
Copied
I think it's called RADIO-BUTTONS instead of OPTION-FIELDS which is just my german translation of it
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
FistTechnik
AUTHOR
New Here
,
/t5/acrobat-sdk-discussions/count-option-fields-vs-check-boxes/m-p/12619427#M88417
Dec 27, 2021
Dec 27, 2021
Copy link to clipboard
Copied
I found this thread with similiarity and hope someone can help me there.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
FistTechnik
AUTHOR
New Here
,
LATEST
/t5/acrobat-sdk-discussions/count-option-fields-vs-check-boxes/m-p/12619495#M88419
Dec 27, 2021
Dec 27, 2021
Copy link to clipboard
Copied
I got it solved with this tutorial blog. Sadly I don't know how to delete this thread
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

