Hi,
In Designer 7.1, I have a simple form with a drop down list and a text field. On making a selection from the drop down list, I wish to have the tool tip for the text field change depending on the selection in the list.
I have the following code:
value1 = xfa.event.newText;
app.alert(value1);
if (value1 == "a") { TextField1.assist.toolTip.value = "a";}
else {
TextField1.assist.toolTip.value = "b";
}
app.alert(TextField1.assist.toolTip.value);
The problem is that the tool tip does not change, it just defaults to the caption of the text field. The if statement is working, as I have added in popups for testing and they produce the correct values, but it is not binding to the tooltip for the text field?
Any help would be appreciated.
Cheers
Dion