Skip to main content
Participant
April 4, 2019
Question

Number field when entered as all 0's only displays as 1 zero

  • April 4, 2019
  • 1 reply
  • 581 views

Hi there,

I have an acrobat form set up with one field that is set to allow for 6 characters (numbers) to be entered. There are scenarios where someone could enter 6 zero's in the field. Unfortunately, if I tab to the next field the six 0's change to one 0. If I go back and select the field, it displays six 0's. Is there a script I need to include so that all of the 0's alway display? This field isn't a calculation so I don't need decimals or anything.

Simply put, if someone enters 000000 I need it to display like that in the field. Letters cannot be inserted in this field, only numbers.

Thanks!

This topic has been closed for replies.

1 reply

Inspiring
April 4, 2019

Numbers are usually displayed as at least a whole number and then  the decimal. Look at the numeric format option. If you want leading zeros, then you need to set the field to a form of "None" and possibly add a custom format script to add the leading zeros.

Participant
April 4, 2019

Thanks for your reply. Would you happen to know where I could find such a custom script? I figured that's the part I'm missing.

Inspiring
April 4, 2019