0 Replies Latest reply on Oct 17, 2014 12:00 PM by JjOtc

    Java Scripting Help


      Hi there,

      I am no new to this J.S. and need help.

      I have 3 question fields (named as Q1, Q2 and Q3) in a text format and another 3 answer fields (named as A1, A2 and A3) in number format.  I need a J.S for this:

      If Q1 = Yes, then A1=1, if Q1= No then A1=2, and so on..

      The Field A4 needs to do a sum of A1, A2, A3.

      How to write a J.S. for above fields A1, A2, A3 and A4.