Hi All,
I want to tool tip to be displayed only for some conditions.
So, i'm trying to display the tool tip using the following code:
if(a>b)
{
this.assist.toolTip.rawValue = "required string";
}
But the code dosen't work when the field becomes read Only.
Is there any way to display the tool tip for a read Only field ?
Thanks,
VJ
.
Views
Replies
Total Likes
Hello,
Tooltip works only for interactive field, not for non interacive fields like readOnly. Tool tip's work is to help user in filling that field by providing some assistance. If the user cant fill the field(when it's readonly) what's the use of ToolTip. However, in case of ToolTip use "value" rather than "rawValue" for interactive fields.
Thanks.
Bibhu.
Views
Replies
Total Likes
If you need the tooltip you can use a script to avoid changes.
Put this JavaScript into the change event of a field.
xfa.event.selStart = xfa.event.selEnd = xfa.event.prevText.length;
xfa.event.change = "";
Views
Replies
Total Likes