Skip to main content
Ilias48rus
Participant
August 13, 2017
Answered

multiline tooltip on form field

  • August 13, 2017
  • 1 reply
  • 3046 views

Hi, i need to make a document with switcher which controlling what text will be on certain positions,

stopped on making the text fields--form's lists and adding 'import form data' actions on switcher,

but i need to have multiline tooltip showed when mouse hovered over each field,

wanted to make it using comments, but comments going under form fields, so they doesn't work with each other as wanted,

is any way to add multiline tooltip to form field ?

or

is any other way i can make the needed

(with "show/hide field" actions on the mouse enter,exit problem in that what in editor target fields not hided, so would be great some more ergonomical way)

?

This topic has been closed for replies.
Correct answer try67

Yes, but only using a script.

The basic code to do it is this:

this.getField("FieldName").userName = "Tooltip line number 1.\nTooltip line number 2.";

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
August 13, 2017

Yes, but only using a script.

The basic code to do it is this:

this.getField("FieldName").userName = "Tooltip line number 1.\nTooltip line number 2.";

Ilias48rus
Participant
August 13, 2017

Thank you for answer,

but can you also say how to get console with getting needed item in this variable ?

(didn't looked in it before, can't find it)

try67
Community Expert
Community Expert
August 13, 2017

Press Ctrl+J to open the JS Console, paste the code into the console window, select all of it with the mouse and then press Ctrl+Enter.