Skip to main content
johnnyZ
Inspiring
February 17, 2024
Answered

Multi line tool tip for check boxes

  • February 17, 2024
  • 2 replies
  • 808 views

Is it possible to make a Multi-line tool tip for check boxes?

I have 4 check boxes all with the same field name.

I'm looking for something like this:

S = Single

M = Married

D = Divorced

W = Widowed.

 

I tried this Java Script:

this.getField("PATIENT MARITAL STATUS").userName = "S = Single\nM = Married\nD = Divorced\nW = Widowed";

With no luck.

This topic has been closed for replies.
Correct answer try67

Works for me (using an older version of Acrobat, albeit):

 

 

 

2 replies

Bernd Alheit
Community Expert
Community Expert
February 18, 2024

Use the script in the JavaScript console.

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
February 18, 2024

Works for me (using an older version of Acrobat, albeit):

 

 

 

johnnyZ
johnnyZAuthor
Inspiring
February 18, 2024

Hi TRY67,

Thanks again for answering me.

BTW, I upgraded my old Ver 9 STD to Ver 2020 STD, so it's not an older version,
I played around with different settings.
Then I set the Trigger to "Mouse Enter"
It worked!  Thank you!  

Nesa Nurani
Community Expert
Community Expert
February 18, 2024

As Bernd suggested, you should run script once, and it will set tooltip, there is no need to keep script as 'Mouse enter'