How to Fix Duplicate PDF Form Fields with the Wrong Font Size
Question details
Users need a way to maintain distinct font sizes and formatting for duplicate PDF form fields that automatically mirror identical values.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Filling out and processing a PDF form where multiple fields need to display the same information but require different visual formatting.
- Observed behavior
- Repeated PDF form fields with the exact same name inherit one single field's formatting (like font size or border) when the file is processed or signed.
Make sure you have a PDF editor with advanced form editing capabilities installed, and identify all the duplicated form fields that are losing their formatting.
Use Unique Field Names and Calculation Scripts
Prevent form fields from inheriting incorrect formatting by renaming them uniquely and linking their values through a calculation script.
When PDF form fields share the exact same name, the software inherently links them. This often forces the fields to adopt identical appearance properties when the document is processed or flattened. By assigning unique names to each field, you protect their independent font size, border, and styling settings.
Open your document in PDF form editing mode. Select the duplicated fields and change their names so each has a unique identifier (for example, change 'ShipDate' to 'ShipDate_1' and 'ShipDate_2').
Apply the desired individual formatting, such as font size, text alignment, and borders, to each uniquely named field through the properties menu.
Right-click the destination field that needs to mirror the data, select Properties, and navigate to the Calculate tab. Choose 'Custom calculation script' and enter: event.value = this.getField("PrimaryFieldName").valueAsString; (replace 'PrimaryFieldName' with the actual name of your source field).

Edit and Fill PDF Forms with WPS Office
Avoid complex formatting glitches by using WPS PDF to seamlessly edit, fill, and manage your interactive PDF forms with precise control over text size and field alignment.
- 1. Open your PDF: Launch WPS Office and open your interactive PDF form document.
- 2. Access form tools: Navigate to the 'Form' or 'Edit' tab to access the form editing capabilities.
- 3. Adjust properties: Select individual fields to modify their properties, including font size and border styles.
- 4. Save the document: Fill in your data and save or export your PDF securely without losing your custom formatting.

Frequently Asked Questions
Why do my PDF form fields change font size when I sign the document?
When a PDF is signed or processed, the software often flattens the interactive form fields. If multiple fields share the exact same name, the software may force them to inherit the formatting of the primary field, which overwrites your custom font sizes.
Can I link PDF form fields without losing their custom text sizes?
Yes. Instead of giving the fields the identical name, assign them unique names and use a custom calculation script (like event.value = this.getField('SourceField').valueAsString;) to mirror the data while preserving individual text sizes.
Does renaming the fields affect how data is entered?
Renaming prevents the fields from automatically syncing by default. Because they are now separate, you must use a calculation script to ensure data entered in the main field automatically populates into the uniquely named secondary fields.




