Skip to main content
Participant
March 19, 2018
Question

JavaScript question - how do you calculate specific fields

  • March 19, 2018
  • 1 reply
  • 643 views

I am new to Java Script and am trying to work out the following

I have a form with radio buttons.  And a variety of skills observations. Each observation has been marked as a group with different values 0, 1 or 2 depending on the level.

I would like my total box to calculate the number of times the '2' button has been selected and '1' button etc. Help!!!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 19, 2018

What are the names of the radio buttons?

Participant
March 19, 2018

I have named each group after the question number for example question 1 = group 1 and each have 3 values '2' , '1' and '0' does that help?

try67
Community Expert
Community Expert
March 19, 2018

So it's "question 1", "question 2", etc.? How many such questions are there?