Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

update toolTip programmatically

Avatar

Former Community Member
I have a problem setting the toolTip programmatically. Does anybody know why the following line would not update the toolTip? Is there a configuration step needed to allow this at runtime?



var f = event.target.getField( pObj.somExpression.substring(15) );



f.userName = "My custom tooltip";



f is a valid object, i can set any other property, as visibility, read-only, etc..., but not the tooltip. Any help greatly appreciated.



Thank you,

Julian



P.S. I tried a dummy sample with a test form containing only a text field in it, but the custom tooltip does not show, only the one set at design time. I am using Designer ES 8.1.2121...
1 Reply

Avatar

Former Community Member
Hello Julian,



In your dummy sample, did you try something like:



TextField1.assist.toolTip.value = "My custom tooltip";



Hélène

Adobe Systems