10 Replies Latest reply on Oct 18, 2014 9:22 AM by JjOtc

    JavaScripting help need

    JjOtc

      Hi there,

      I am 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.

      I am using Adobe Acrobat XI Pro.

      Thanks.