Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetQuestionText

From Catglobe Wiki



getQuestionText

Gets the text of the specified question in user’s language or default language. This function run in question context

Syntax

getQuestionText(questionLabel)

or

getQuestionText(questionPath)

Arguments

questionLabel: a string expression. It is the label of a question

questionPath: a string expression. It is the path of a question

Return type

string

Examples

string text = getQuestionText("Q1");
//or
string text = getQuestionText(Q1.QuestionLabel);
//or
string text = getQuestionText(Resource_getResourceName(qnaireRId) + "\\Q1");

Availability

Version 4.8