3 Replies Latest reply on Feb 7, 2018 11:28 AM by dannyt30701716

    Hide Acrobat Text Field Calculations if Value is Zero




      I am creating an invoice form where I've put in the calcuations to generate an amount for the "Amount" field. However, it's showing 0.00 where the "Amount" field is zero. How do I make it that it shows nothing when it's zero. I tried using the following script in the Custom Calculation Script under the calculation tab.


      Amount2.value = this.getfield("Qty2").value * this.getfield("UP2").value;

      if (Amount2.value == 0) Amount2.value = "";


      When inputting this, the field just becomes blank.


      Can anyone help meÉ