6 Replies Latest reply on Dec 2, 2010 8:30 AM by Carol S. Ruskin

    New to scripting - need help!

    Carol S. Ruskin Level 1

      I have an acrobat (pro 9.0) order form which contains 4 fields called sub1, sub2, sub3 & sub4. These are subtotal fields that should containt the number 8 if the user has entered their numbers correctly. I have a total field that should have the following code in it:


      If sub1 = 8,

           then add 20 to total.

      If sub2 = 8,

           then add 20 to total.

      If sub3 = 8,

           then add 20 to total.

      If sub4 = 8,

           then add 20 to total.

       

      I need to translate this into Javascript and need all the help I can get.

       

      Thank you in advance