1 Reply Latest reply on May 28, 2013 2:02 AM by GaryTate

    how to calculation this radio button values

    Ragupathi

      hi i just created the six radio button(R1,R2,R3,R4,R5,R6) and four text field(T1,T2,T3,T4) now i want to calculation that if the six(R6) radio button = 20 then (T1) text field display result or else (R6=15) then (T2) should display the result or else (R6=10) then (T3)should display result or else (R6= 5) then (T4) should dispaly the result

       

      how to calculator this can any one help me how to do this automatically

       

      my script

       

      If [R6=20]

      Set Field [ T1; R6]

      else If [R6=15]

      Set Field [T2; R6]

      else If [R6 =10]

      Set Field [T3; R6]

      else

      Set Field [T4; R6]

      End If

       

       

      But this script is not working can any one help to slove this issues

        • 1. Re: how to calculation this radio button values
          GaryTate

          My first thought is to check the script is being triggered.

           

          To be honest with you, I'd probably set the values of T1-T4 as auto enter calculations within the field definitions but there may be other things going on that mean a script is what you want.

           

          Are the radio buttons numbers or text fields (this might cause odd results)?

           

          Gary