Copy a PDF Field Value to a Smaller Font in Adobe Acrobat
Question details
Automatically copy the value of one PDF form field into another field that uses a smaller or automatic font size.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A PDF form has a source field named Field01 and a destination field named Field02.
- Observed behavior
- Field02 should display the value entered in Field01 while using its own font size.
Open the PDF in Adobe Acrobat and confirm that Field01 and Field02 are separate form fields. Check their exact names in Prepare a Form, since the script must match the source field name.
Set a custom calculation and font size for Field02
Use a calculation script to copy Field01's value while controlling Field02's appearance independently.
In Adobe Acrobat, open the PDF and select Prepare a Form. Double-click Field02 to open its Properties.
On the Appearance tab, set Font Size to Auto or choose a smaller fixed size. Field02 can use a different font and size from Field01.
On the Calculate tab, select Custom calculation script and click Edit. Enter: event.value = this.getField("Field01").value; Then confirm the script.
Optionally, select Read Only on the General tab so users edit the value in Field01 rather than Field02.
Close the Properties dialog, preview the form, and enter a value in Field01. Check that Field02 updates and that its text fits.

Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Microsoft Office files. Open existing documents to make migration easy; verify form-script behavior separately, since WPS may not support this Acrobat calculation.

Frequently Asked Questions
Can Field02 have a different font size from Field01?
Yes. In Prepare a Form, open Field02 Properties and use the Appearance tab to set its font and font size independently.
What does the Auto font size do?
In Field02 Properties, choosing Auto under Appearance lets Acrobat adjust the text size to fit the field. Preview the form to check the result with longer values.
Why doesn't Field02 update when I change Field01?
Check that the script is on Field02's Calculate tab and that Field01 matches the source field's exact name. In Acrobat Preferences, also check that JavaScript and automatic field calculations are enabled.
Can users edit only the original field?
Yes. In Field02 Properties, select Read Only on the General tab. Users can then enter the value in Field01 while Field02 displays the calculated copy.




