How to Create Number Fields for Postal Codes and Phone Numbers in PDF
Question details
The user needs to add form fields in a PDF specifically for postal codes, telephone numbers, and registration numbers that include spaces, special characters, or leading zeros.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating interactive PDF forms requiring users to input formatted numbers like zip codes and phone numbers.
- Observed behavior
- Standard numeric formatting often removes leading zeros or blocks spaces and special characters, requiring specific text field configurations to work correctly.
Ensure you have a PDF editing tool equipped with form creation capabilities, such as Adobe Acrobat Pro, as basic PDF readers only allow you to view or fill existing forms but not create new fields.
Use Special Text Fields for Custom Number Formats
Use formatted text fields instead of strict numeric fields to preserve leading zeros and allow spaces or hyphens in postal codes and phone numbers.
When creating forms for data like zip codes or company registration numbers, applying a standard 'Number' format will cause the software to treat the input mathematically, thereby stripping away leading zeros. To fix this, you must configure the text field using 'Special' formatting or leave it as plain text.
Launch Acrobat, go to the 'Tools' menu, and select 'Prepare Form'. Choose the PDF document you want to edit to enter the form editing mode.
Click the 'Add a Text field' icon in the toolbar. Click and drag on your document to place the field where the postal code or phone number should be entered.
Double-click the newly created field to open the 'Properties' dialog box, then navigate to the 'Format' tab.
Under 'Select Format Category', choose 'Special'. From the list, select 'Zip Code', 'Zip Code + 4', or 'Phone Number' based on your requirement. For company registration numbers containing letters or custom spacing, select 'None' to ensure exact user input is preserved.

Use WPS Office to Manage and Edit PDF Forms
WPS PDF offers a lightweight, highly compatible solution for editing PDF documents, filling interactive forms, and managing your paperwork efficiently without expensive subscriptions.
- 1. Open WPS Office: Launch WPS Office on your computer and click on the 'PDF' tab to open the built-in PDF editor.
- 2. Load your PDF Form: Open the PDF form you wish to fill or edit by dragging and dropping the file into the application window.
- 3. Use Form and Fill Tools: Navigate to the 'Fill & Sign' or 'Form' tab to seamlessly input your postal codes, phone numbers, and company registration details into the correct fields.

Frequently Asked Questions
Why do the leading zeros disappear when I type a postal code in my PDF form?
If the form field is set to a standard 'Number' format category, the PDF editor treats it mathematically and removes leading zeros. The field must be configured as 'Text' or specifically as a 'Zip Code' under the 'Special' format category to fix this.
Can I format a PDF field to automatically insert hyphens for phone numbers?
Yes. In the field properties under the Format tab, select 'Special' and then choose 'Phone Number'. This will automatically format standard 10-digit inputs with the correct parentheses and hyphens.
How do I create a field for alphanumeric registration numbers?
Use a standard Text field and leave the format category as 'None'. This allows users to input any combination of letters, numbers, and spaces without triggering math-based formatting errors or unexpected deletions.
Do I need premium software to create these PDF form fields?
Yes, creating and configuring complex form fields generally requires advanced PDF editing tools like Adobe Acrobat Pro or WPS PDF Premium. Standard free readers typically only allow you to view or fill pre-existing forms.




