How to Preserve Form Field Boxes When Prefilling a PDF
Question details
The user needs to prevent form field boxes or separators from disappearing when prefilling data into a PDF form.

- Product
- Device & OS
- not provided
- Scenario
- Prefilling a PDF form with text or importing external data.
- Observed behavior
- The boxes or comb separators around the entered text disappear after the form is prefilled.
Ensure you are in form editing mode and have administrative access to modify the field properties of the PDF document.
Enable Comb Settings in Field Properties
Adjust the form field properties to ensure the field itself draws the box and separators correctly.
When prefilling a PDF, underlying graphics might be covered by the form field background. Allowing the field to natively draw the boxes using the 'Comb' setting ensures the layout remains intact.
Enter form editing mode, right-click the text field that is losing its box, and select 'Properties' to open the settings panel.
If there is an underlying box graphic conflicting with the field, delete it so the field handles the borders natively.
Go to the 'Options' tab in the Properties dialog, check the 'Comb of characters' box, and enter the maximum number of characters to preserve the box separators.
Switch to the 'Appearance' tab and ensure the border color and line thickness are defined so the box remains visible.

Structure Imported Data Correctly
Format your import file properly so that prefilled data aligns perfectly without breaking form field appearances.
Easily Create and Fill PDF Forms with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to easily design interactive forms, configure field properties like Comb settings, and reliably prefill data without losing your layout.
- 1. Open your PDF in WPS Office: Launch WPS Office and open your PDF form using the built-in PDF Editor.
- 2. Enter Form Editing mode: Navigate to the 'Form' tab on the top ribbon to access form design and field property tools.
- 3. Adjust field properties: Double-click the target text field to open its properties, where you can set borders, colors, and comb options to keep boxes visible.

Frequently Asked Questions
Why does the Comb option appear grayed out in my PDF field properties?
The Comb option is only available for standard text fields. It will be grayed out if 'Scroll long text', 'Multi-line', or 'Password' options are enabled in the Options tab.
How can I change the border color of a PDF form field so the box is visible?
Right-click the form field, select Properties, and go to the Appearance tab. From there, you can select a specific color for the field border and set the line thickness.
Does WPS Office support filling out interactive PDF forms?
Yes, WPS Office fully supports filling, saving, and printing interactive PDF forms, ensuring that all field properties and entered data display exactly as intended.
What file format should I use to import data into a PDF form?
The most reliable format for importing form data is a tab-delimited text file, with form field names in the first row and the corresponding data values in the second row.




