GetTipText
Returns the tip text of the current form.
Inherited from ApiFormBase.GetTipText.
Example
Retrieve the tooltip hint text assigned to a form field in a document.
// How do I read the instructional hint shown when a user hovers over a form field in a document?
// Display the tooltip message of a drop-down form to verify what guidance is shown to the user in a document.
let doc = Api.GetDocument();
let comboBoxForm = Api.CreateComboBoxForm({"key": "Personal information", "tip": "Choose your country", "required": true, "placeholder": "Country", "editable": false, "autoFit": false, "items": ["Latvia", "USA", "UK"]});
let paragraph = doc.GetElement(0);
paragraph.AddElement(comboBoxForm);
let tipText = comboBoxForm.GetTipText();
paragraph = Api.CreateParagraph();
paragraph.AddText("Form tip text: " + tipText);
doc.Push(paragraph);