More actions
Cg huyphong (talk | contribs) No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
''string questionnairequalifiedname = Resource_getResourceName(questionnaireRid );'' | ''string questionnairequalifiedname = Resource_getResourceName(questionnaireRid );'' | ||
''DomesticAnimal = getQuestion(questionnairequalifiedname + "DomesticAnimal");'' | ''DomesticAnimal = getQuestion(questionnairequalifiedname + "\\DomesticAnimal");'' | ||
'''Availability''' | '''Availability''' |
Latest revision as of 10:19, 7 June 2024
getQuestion
Gets the answer for the specified question label. This function needs RPQ context
Syntax
getQuestion(question_label)
Arguments
question_label: Is the string label of a question
Return type
object
Examples
//Copy answer from another project questionnaire
//DomesticAnimal is the question label of the source questionnaire
number questionnaireRid = 75992;
string questionnairequalifiedname = Resource_getResourceName(questionnaireRid );
DomesticAnimal = getQuestion(questionnairequalifiedname + "\\DomesticAnimal");
Availability
Version 4.8