Enable Rich Text Formatting in an Adobe Acrobat Reader PDF Form
Question details
Allow a PDF form recipient to change text formatting while a custom script adds spaces between characters.

- Product
- Adobe Acrobat and Adobe Acrobat Reader
- Device & OS
- not provided
- Scenario
- A form author uses Acrobat JavaScript to add character spacing to an editable text field and wants recipients to adjust font size, color, and other formatting in Reader.
- Observed behavior
- A script that updates the field through event.value can overwrite the recipient's rich-text formatting.
Open the source PDF in Adobe Acrobat with form-editing access and identify the script that modifies the text field. Check the recipient's Reader version and whether the document needs Reader usage rights for the intended workflow.
Enable rich text and update the Acrobat JavaScript to preserve formatting
Use this approach when recipients need both character spacing and editable text formatting.
Rich-text fields store formatting in spans. A script that replaces plain text through event.value may discard those spans; preserving formatting requires a more complex script that reads and updates event.richValue where supported.
In Acrobat, open Tools > Prepare Form, then double-click the editable text field.
In the field properties, open the Options tab and select Allow Rich Text Formatting. Close the properties dialog.
Open the field properties and locate the custom JavaScript under the relevant field event, such as Calculate or Actions. Replace the plain event.value update with logic that reads and updates event.richValue spans while preserving their formatting and inserting the required spaces.
Save the PDF and, if required for the target Reader version and workflow, use File > Save as Other > Reader Extended PDF to apply the available usage rights. Open the saved form in Reader, enter text, select it, and test the formatting controls and spacing behavior.

Allow rich-text formatting without the automatic spacing script
Use this simpler option if automatic spaces between characters are not essential.
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 Office documents. Its format compatibility helps you move existing files into a streamlined workspace; it does not fix Acrobat JavaScript or Reader usage rights.

Frequently Asked Questions
Where do I enable rich text for a PDF form field?
In Adobe Acrobat, open Tools > Prepare Form, double-click the text field, and select Allow Rich Text Formatting on the Options tab.
Why does my spacing script remove the text formatting?
A script that replaces text through event.value can discard rich-text spans. Update the relevant field-event script to preserve and modify event.richValue spans instead.
How can a recipient open formatting controls in Reader?
The recipient can select text in a rich-text-enabled field and use the available formatting controls. On Windows, Ctrl+E can open the Properties Bar.
Does Reader always need special rights to edit a rich-text field?
Requirements depend on the Reader version and workflow. If rights are needed, check Acrobat's File > Save as Other > Reader Extended PDF options and test the resulting file in the recipient's Reader version.




