12 Replies Latest reply on Nov 19, 2015 5:30 AM by indio06

    If/ then formula on javascript for form

    indio06

      Hi,

       

      I was wondering if someone can help me, I have a PDF form which I have designed and made fillable, however I am struggling on the condition on the last 2 boxes:-

       

      Scenario:-

       

      Box A = 20

      Box B = 30

       

      Box C = 30

       

      I need:- (Box A + Box B - Box C)   if Box C< (Box A+Box B), then put the answer in Box F

      if Box C > (Box A+Box B), then put the answer in Box G

       

      Box F---------------------                                                      Box G-------------------------------

       

       

      I know how to add A and B - C, but not sure how add the condition.

       

      I would appreciate any help of your expert advise.

       

      Many Thanks