on 06-19-2012 9:58 AM
Hello everybody
I searched the SCN and tried many things but without success.
I have a table COSIGNERS with the field TOOLTIP_TEXT and some other fields.
While displaying the table lines I want to have the text of this field as tooltip. Therefore I created a row with an image where this text should appear.
I tried to do this coding in form::ready and initialize events.
With this FormCalc Coding I get the Tooltip 'TEST' for every line.
data.#subform[1].COSIGNERS.DATA.TOOLTIPIMAGE::initialize - (FormCalc, client)
var tooltiptext = "TEST"
$.assist.toolTip.value = tooltiptext
Instead of "TEST" I tried many things like $.parent.TOOLTIP_TEXT but always with an exception at printing the form (Zugriffsberechtigter "..." ist unbekannt).
Sorry but I have the German Adobe Reader installed which throws the message.
Also I don't have even less knowledge of Javascript than of Formcalc.
By the way: Is there a possibility to have a tooltip behind a table row or the fields of the table row? I am not able even to get a static tooltip at this objects only at graphics.
Best regards and thanks a lot.
Peter
Hello again
I found a solution for this issue myself.
The way to do it was nearly correct. But I had to use the rtrim-function to move the value to the tooltip.
So finally I did it with this coding:
data.#subform[1].COSIGNERS.DATA.TOOLTIPIMAGE::initialize - (FormCalc, client)
var tooltiptext = rtrim($.parent.TOOLTIP_TEXT)
$.assist.toolTip.value = tooltiptext
Thereby the field TOOLTIP_TEXT has to be part of the Table even if it's invisible.
Best regards
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.