3 Replies Latest reply on Jun 27, 2011 3:41 AM by Yugidad

    Total Fields and Change Font Color for 0 values

    Yugidad

      Hi I am fairly new to scripting, and I have created a form that is used both as a fillable PDF and printed out.  It is a decklist and I want to be able to total the fileds for each specific type of card so it displays the toal in another field and then add those fields for a deck total.  I can easily accomplish this using the built in Sum function in Acrobat X but when the list is printed blank to be used by players at an event the zeros print in the total fields and that confuses younger players.

       

      I would like to use a custom calculation script that totals the fields and also checks the total, and if it is zero changes the font color to white.

       

      Any help would be appreciated.