Hide Acrobat Text Field Calculations if Value is Zero
Hello,
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É
