Need Javascript to count number of questions answered to get a percentage total
I have a PDF that I am creating in Adobe Acrobat that is a questionaire. I used radio buttons so that the user can easily select the score of the answer to each quesion between the range of 1-10 (each answer has a hidden button preselected giving it a score of 0).
There are 6 Sections total.
Each Section has 4 questions.
So, a total of 24 questions
I can't figure out the javascript to count how many questions have been answered in each section (basically a score between 1-10). The goal is to give a balanced score at the end of the pdf that takes into account only the questions answered.
I hope this makes sense. I have no coding experience and have been totally lost browsing the internet for answers.
