How to Add Individual Character Boxes to PDF Form Fields
Question details
The user needs to divide a single PDF text field into multiple individual character boxes, ensuring each typed letter or number occupies its own distinct cell without manually creating separate fields.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating or formatting a fillable PDF form that requires standardized inputs, such as Social Security Numbers, zip codes, or identification numbers.
- Observed behavior
- The goal is to transition from a standard continuous text input to a formatted field that automatically separates characters into evenly spaced individual squares.
Ensure your PDF document is open in edit mode and that you have access to the 'Prepare Form' or equivalent form creation tools in your PDF software.
Use the Form Field Comb Feature
The most efficient way to divide a text field into individual character cells is by enabling the Comb option in the field properties.
The Comb feature automatically divides a single text field into equal-sized grids based on the maximum character limit you set. This keeps the data unified in one field while visually separating each character.
Open the 'Prepare Form' tool in Adobe Acrobat or your PDF editor. Double-click the text field you want to modify to open its Properties dialog.
Click on the 'Options' tab within the Properties window.
Check the box labeled 'Comb of'. If this option is grayed out, uncheck 'Scroll long text', 'Multi-line', and 'Check spelling' first.
Enter the exact number of characters you want the field to hold in the text box next to the Comb option. Close the Properties dialog to see the field automatically divided into the required character cells.

Use JavaScript to Auto-Focus Separate Fields
If you require entirely separate physical fields with custom styling, you can configure individual text fields to jump to the next box automatically using a custom keystroke script.
Create and Edit Fillable PDF Forms with WPS Office
WPS Office features a comprehensive PDF editor that allows you to effortlessly create fillable forms, adjust text field properties, and format character inputs without the need for complex scripting.
- 1. Open Your PDF: Launch WPS Office and open your PDF document in the WPS PDF editor.
- 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon to reveal all fillable form creation tools.
- 3. Add a Text Field: Select the 'Text Field' tool and draw the box on your document where you want the user input to go.
- 4. Adjust Properties: Double-click the newly created field to open the Properties menu, where you can customize its appearance and input limits.

Frequently Asked Questions
Why is the Comb option grayed out in my PDF text field properties?
The Comb option requires certain text formatting features to be turned off. To make it clickable, ensure that 'Check spelling', 'Multi-line', 'Scroll long text', and 'Password' are all unchecked in the Options tab.
Can I use the Comb feature for formatting numerical inputs like zip codes?
Yes, the Comb feature is ideal for standardized numerical inputs like zip codes, Social Security Numbers, or phone numbers. Simply set the maximum character limit to match the required number of digits.
Do I have to use JavaScript to create separated character boxes in a PDF form?
No, writing JavaScript is completely optional. The built-in Comb feature is the recommended, no-code method for creating individual character boxes. JavaScript is only necessary if you want to link entirely separate form fields together.
Will the character boxes created by the Comb feature be visible when printed?
Yes, but only if you have configured the text field to have visible borders. Go to the 'Appearance' tab in the field's Properties and assign a border color. The internal grid lines separating the characters will automatically inherit this border styling.




