Adding Tooltip or PopUp Message to form | Community
Skip to main content
May 16, 2006

Adding Tooltip or PopUp Message to form

  • May 16, 2006
  • 12 replies
  • 34658 views
On a form I'm creating, I'd like to add a feature that allows a window/pop-up/tooltip to display when the mouse hovers over that particular piece of text. The text box I've created...in the accessibility tab....I've typed in the custom reader text I was hoping to have displayed. Obviously, not working. What setting or piece am I missing that I'm doing incorrectly?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

12 replies

July 12, 2006
Actually, this may still be possible with Designer.



While I don't know exactly what you mean by "step-action tables" and don't know what AcroForm API calls you were using to do this in PDF Forms, you can most likely still do this in an XFA form
which is rendered to PDF (which implies that Acrobat is the only application which will host the form):



In any event on any XFA object, you have access to the following object:



event.target


In Acrobat, this happens to be the
Acrobat Document object which represents the form -- on the AcroForm layer.



From there, you should be able to use most of the AcroForm functions and properties you were used to using prior to switching to XFA forms.



While there are techniques you could use in Designer to build your own tooltip-like object which becomes visible only when the mouse hovers over an object on a form, there are currently some z-order bugs in Acrobat that'll prevent that sort of solution from working nicely (which is too bad because with this solution, you could've made really rich tooltips -- some even that change dynamically depending on the data loaded into a form!). For example, some fields are always drawn above other fields, regardless of their position in the XFA object hierarchy of a form, which means that your tooltip object would always be partially obstructed. Hopefully these bugs will be addressed in a future release of Acrobat.



In the mean time, if you can remember the script for your old AcroForm-based tooltips and your form is only ever hosted by Acrobat, then I suggest you stick with AcroForms to address this problem.



Stefan

Adobe Systems
July 30, 2008
I have a related question: How can I turn off the mouse over pop up when you have tool tips and custom screen reader text and still have the information available to a visually impaired person using a screen reader? We are creating forms for the general public to use, and only a small percentage of those people are visually impaired. For the majority of the population, the mouse over pop ups are unnecessary since they can already read the field's caption or any surrounding text related to the field.