Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Forms
Viewing all articles
Browse latest Browse all 61369

Sum of Radio Button Values

$
0
0

Hi,

 

I'm looking to add the values of separate radio buttons together. (JavaScript knowledge = minimal)

 

If I have one group of radio buttons with 5 different answers (each answer with a value 1-5). Then I have another group of radio buttons with 2 different answers (each answer with a value 1-2).

 

From these two groups of radio buttons I want to have a numeric field that calculates the sum of the two groups of radio buttons. (this would range from a total value of 2-7)

 

Take for instance the following example which would be shown in the Hierarchy Pallette where the numbers represent the value.

     -Page1

          -Subform1

               -Question1

                    -Radio_Button_A = 1

                    -Radio_Button_B = 2

                    -Radio_Button_C = 3

                    -Radio_Button_D = 4

                    -Radio_Button_E = 5

          -Subform2

               -Question2

                    -Radio_Button_A = 1

                    -Radio_Button_B = 2


Viewing all articles
Browse latest Browse all 61369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>