2 Replies Latest reply on Jan 4, 2013 5:51 AM by berrizdesign

    Javascript Setiing default to blank

    berrizdesign Level 1

      I created a contract form in adobe acrobat pro x and I have been using simplified field notation. What it currently does is calculate 5% of the contract amount into several boxes in the form. This is the equation I am currently using.

      Calc2_A * 0.05


      When I leave box "Calc2_A" blank it sets the default value of the area its being calculated in as $0.00


      I think what I need is a javascript conditional statement that says if box = blank then calculation should be blank, not $0.00.
      I am very new to the program so maybe there is something I am missing.
      Any help is greatly appreciated


      Thank You