Show Full PDF Form Field Text on Hover in Adobe Acrobat
Question details
Show the complete value entered in a multiline PDF form field when a user hovers over it.

- Product
- Adobe Acrobat PDF forms
- Device & OS
- not provided
- Scenario
- A form creator wants users to read a scrolling multiline field without manually scrolling through its contents.
- Observed behavior
- The desired hover tooltip displays the entered field value and shows the original prompt when the field is empty.
Open the form in an Acrobat edition that can edit form fields and run JavaScript. Check the field’s existing tooltip and validation script before making changes.
Copy the field value to its tooltip with a validation script
Use a custom validation script to update the tooltip after the field value is committed.
The field’s userName property contains its tooltip. Replacing it with the entered value also replaces the original tooltip, so include the original prompt in the script if you want it restored when the field is cleared.
Tooltip support and the amount of text displayed vary by PDF viewer; a long value may still be truncated.
Open the PDF in Adobe Acrobat and select Prepare a form from the tools menu.
Double-click the multiline text field to open Properties. On the General tab, note the existing Tooltip text.
On the Validate tab, select Run custom validation script and click Edit. Enter `event.target.userName = event.value !== "" ? event.value : "Enter your text here";`, replacing the quoted prompt with the field’s original tooltip. Review any existing script before changing it.
Close Properties, save the PDF, and enter text in the field. Leave the field to commit the value, then hover over it. Clear the field, leave it again, and check that the original prompt returns.

Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and support for common Office formats, making it easy to move between documents. Its PDF tools can help you open and review forms, but they do not replace the Acrobat validation script or guarantee dynamic hover tooltips.

Frequently Asked Questions
Why did the original tooltip disappear after I added the script?
The script assigns the entered value to the field’s userName property, replacing its tooltip. Add a conditional fallback containing the original prompt to restore it when the value is empty.
When does the tooltip update?
The validation script generally runs when the field value is committed, such as when the user leaves the field. Hover over the field after leaving it to check the updated tooltip.
Will every PDF viewer show the complete field value?
No. Viewers differ in their support for PDF JavaScript and form-field tooltips, and some may truncate long tooltips. Test the saved form in the viewers your users will use.
Where can I find the field’s original tooltip?
In Acrobat, open Prepare a form, double-click the field, and check Tooltip on the General tab of its Properties dialog.




