bool SetSelectedAnswerAdditionalTextOverride(int inQuesIdx, String inAnswerIdentifier, string inAdditionalText)
Description
Sets additional text for an answer (an "other specify" answer), without resetting settings of other answers (if were set).
Works for an "other specify" answer even if not already selected (But does not select it).
Also used to set additional text for an Other Specify Topic if "inAnswerIdentifier" is null or an empty string
Relevant for Multiple Selection questions with multiple "other (specify)" answers.
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIdx | Int | Question Index |
inAnswerIdentifier | string | The Answer Index that is set as Other Specify |
inAdditionalText | string | The value to set to the other specify |
Return Type
Bool
Examples
Answer index 5 in question index 10 is an "other specify" answer.
When question 10 was asked, answer 5 was (selected).
SetSelectedAnswerAdditionalTextOverride(QRef(10), 5, "My New Text") will set the text "My New Text" as the additional text of answer 5.
Comments
Please sign in to leave a comment.