Skip to main content
Participant
March 23, 2021
Answered

Display text that is hidden in a scroll long text box by hovering over the field

  • March 23, 2021
  • 1 reply
  • 2868 views

Hello,

I am creating a pdf form that contains text fields. The fields have Multi-line, scroll long text, and a fixed font size ('auto' font size is not a suitbale option). When the field's text exceeds the height of the field, the text becomes hidden and can only be viewed by using the up and down scrolls. This however, is not ideal for the forms purpose.

 

Is there a way to hover over a field (which has hidden text) and display the field's content in a pop-up?

 

Thank you in advance for your assistance.

 

Kind regards,

Sarb

 

 

This topic has been closed for replies.
Correct answer try67

Just a tip if it doesn't work when you exit field, try to write something in the field or delete something.


Good point. You have to change the value of the field for it to "kick in".

1 reply

try67
Community Expert
Community Expert
March 23, 2021

Yes. Use the following code as the field's custom Validation script:

 

event.target.userName = event.value;

Participant
March 23, 2021

Hi,

 

I have entered the exact script you provided above and it doesn't seem to have done anything.

 

Do I need to replace any of the text in the script with field names or other details for it to work?

 

Thanks.

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 23, 2021

Just a tip if it doesn't work when you exit field, try to write something in the field or delete something.


Good point. You have to change the value of the field for it to "kick in".