Tooltip

Hi,

I want to show the value of a releated field in the tooltip of a textfield.

I can do this by using the editor for the tooltiptext of that field.
If I then select the relation and field, the tooltiptext that servoy creates is :

%%bcom_ondh_contractregels_to_ondh_codes$ondhcat_ondhcat_id$all.ondhcod_oms_ned%%

But when I run the form, the value of the related field is not shown, but the full text : %%bcom_ondh_contractregels_to_ondh_codes$ondhcat_ondhcat_id$all.ondhcod_oms_ned%%

same problem when I just choose a field as the value for the tooltip.
What am I missing ?

Regards,

I think you also need to set the property displayTags

Hi Hans Nieuwenhuis

Have you tried to check the “displays Tags” property?

Best regards. Roberto Blasco.

that should’nt be necessary, that’s only for if you calcute such a string in a text field.

I have just tried to add a simple tooltip: %%customers_to_addresses.addressesid%%
on a (non editable) text-field, without display Tags, and it works perfectly

What Servoy version are you using? we use 6.0.6

Aaaaaah :oops:

I thought display tags is for the textfield itself and not for the tooltip.
But it works now, thanks !!

I am on 5.2.13.

Is this a Bug then or ??

I don’t understand, you say it works now, but than you say it’s a bug??

Well, it works now when I use Display Tags on the field.
But You said that that should not be nescessary .

Regards,