0 Replies Latest reply on Mar 20, 2009 2:38 PM by ryanG_1

    number formatting with either 2 decimal places or none

      I'm using Acrobat 8 in XP and not familiar with Javascript.

      I have some dollar amount fields where I need it to be number formatted, and limited to 2 decimal places but leave the user the ability to enter only an integer.

      ie, go to two decimal places if any of
      > .

      > .0

      > .00

      > .000(...)

      are present but leave it off if none are present.

      I assume I need a custom format script but I've not been able to learn enough to figure it out yet.

      If anyone can give me some code I can edit and paste, that would be great. Any help is appreciated.