Returning a text value based on tally from radio buttons
I'm creating an assessment form that needs to provide an overall rating based on how many times a specific level is acheived in different areas.
I've created a number of radio groups (Group1, Group2, Group3, Group4, Group5, Group6, Group7, Group8) for each area with 5 choices (A,B,C,D,E) and created a tally counter (TallyA, TallyB, TallyC, TallyD, TallyE). The tally is working fine but I'm struggling with the next step and would be grateful of some help.
The scoring matrix is as follows:
- ≥5 As = Excellent
- ≥5 Bs = Very good
- ≥5 Cs= Clear pass
- ≥4 Ds = Borderline pass
- ≥5 Ds = Borderline fail
- ≥1 Es = Clear fail
I would like a text return of Excellent, Very Good, Clear Pass, Borderline Pass, Borderline Fail or Clear Fail based on the tally counts if this is possible. I have some limited experience with JavaScript and am willing to use this if required.
Any help would be gratefully received. Thanks in advance.
