2 Replies Latest reply on Jun 2, 2011 12:38 PM by Jackie Krebs

    Zeros hidden in form field?

    Jackie Krebs

      I created a worksheet with calculations and had zeros showing up in empty lines.  Was able to get around that with this script:

       

      // if value is zero replace with null string

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

      My question now....  There are times when the equation will be 0.  Wondering how I get it to print? 
      Field1c-Field1g  =  Field1h
      I have field c - field g equals field h
      and sometimes that answer will be 0, and I need that to print in the field. 
      The form has been set up in Acrobat pro X on a mac.
      Thanks for your assistance!