Expand my Community achievements bar.

SOLVED

Show tooltip

Avatar

Level 2

I would like to ask if there is a way to force showing tooltip?

Thanks for help.

1 Accepted Solution

Avatar

Correct answer by
Level 10

We can't control the tooltip from other field.

However you can show a popup menu similar to the tooltip.

See the Acrobat documentation where you will get some help for this

Nith

View solution in original post

13 Replies

Avatar

Level 4

Tooltips always show, but only on editable (not read-only) objects.

You can activate them with "xfa.resolveNode(your_field).assist.toolTip.value = your_message;"

Avatar

Level 2

I do not want to change value. But for example: using a button click show tooltip of a textfield.

Avatar

Level 4

Sorry then , i didn't understand your question before.


I don't know how to force the tooltip to appear without having to "park" the mouse pointer on the field.

Avatar

Correct answer by
Level 10

We can't control the tooltip from other field.

However you can show a popup menu similar to the tooltip.

See the Acrobat documentation where you will get some help for this

Nith

Avatar

Level 4

You mean using "var cChoice = app.popUpMenuEx.apply( app, arr1 );"?

Its a way, but it renders in an odd fashion.

Avatar

Level 10

it will look ugly but no other go.

bcoz u cant manipulate the tooltip.

Sorry if i'm helpless,

Nith

Avatar

Level 4

You're in no way helpless.

It was a great idea, i've never thought of using pop up menus like that, and its way better than not being able to do it.

Avatar

Level 4

I have an uneditable text field. Is there any way to get a tooltip to show up over it?

The reason I am needing this is because the user fills in the field in an earlier instance of the field, and it's set to global. The same field is presented later in the form, but this global field is marked Protected. I'd like to tell the user where he needs to go in the form in order to change the value of the field.

Avatar

Former Community Member

The tooltip is only active if the field is available for edit ....as you have it protected it will not show the tooltip.

Paul

Avatar

Level 4

You can put a text field, put your text in the caption area and make the text input area width = 0. This might not be elegant but it will get the job done while keeping your layout unaltered.

Avatar

Level 4

Thanks for your reply,

There are a few things I don't understand for your work around. First, when you say "...put your text in the caption area", do you mean to say put it in the tool tip caption box? Next, how do you "make the text input area width = 0".

Thanks!

Graham

Avatar

Level 4

What i meant is that the text you now have in your uneditable text field you will put in the caption of the editable field.

And the editable part of this new field you will "hide" by puting the reverve property as close as possible to the width property of the entire field.

See the attach file.

Avatar

Level 10

Try to overlay the field with a static text field and set the tooltip for the static text field..

no other go..

Nith