Expand my Community achievements bar.

Script toolTip?

Avatar

Level 2

Javascript:

app.alert(fieldname.access.toolTip.value);            // it shows the preset tooltip

fieldname.access.toolTip.value = "my tooltip";      // set tooltip

app.alert(fieldname.access.toolTip.value);            // it shows "my tooltip"

Accessibility priority set to Tooltip.  In any case, the scripted tooltip is not appearing when mousing over, only the original one appears!

Tried the same thing with "speak" property.  Didn't work also.

Is there a setting somewhere???

Thanks.

3 Replies

Avatar

Level 10

Hi,

(I can help you here)

Try the following Javascript:

this.assist.toolTip.value = "my tooltip";

Using ".assist" instead of ".access".

Hope that works!

Niall

Avatar

Level 2

Typo -- had "assist" in code rather than "access" here and it didn't work.  Thanks for pointing that out anyway.

The problem went away when the file was "Saved As" Adobe 8 Dynamic XML, instead of Adobe 7 Fixed PDF. (even though my form is currently fixed).

Would have been nice to generate an exec error for -catch- .. oh well, another 8 hours down the drain.  Well, not exactly, I did come up with the word "Adopey" (tm).

Avatar

Level 10

Hi,

Glad you got it working!

We tend to always save any form as "dynamic", inevitably there will always be some element of dynamic content.

N.