Avatar of jcgroove
jcgroove

asked on 

Javascript loop through checkboxes

I have an HTA text file generator that has several checkboxes.
Any combination of the checkboxes can be selected.
To capture every possible combination in an IF statement would be a couple hundred embedded statements.

Is there a way to loop through the checkboxes and have the script identify the checked checkboxes and input the data into the text file that is generated?

I have attached an example text file with the script I already have.
test.txt
JavaScriptHTML

Avatar of undefined
Last Comment
jcgroove

8/22/2022 - Mon