CreateAnswerWithAdditional

AnswerWithAdditionalText CreateAnswerWithAdditional(String inAnswerIdentifier, string inAdditional)

Description

Creates an object combined with an answer index and a text string. Used to later set an "other specify" answer in a question with multiple "other specify" answers.
Relevant for Multiple Selection questions with multiple "other (specify)" answers.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inAnswerIdentifier String Answer Index
inAdditional string  Text string

Return Type

AnswerWithAdditionalText

Example

CreateAnswerWithAdditional(3, "hello!") will create an object (object type of "AnswerWithAdditionalText") that refers to answer index 3 and the additional text "hello!". Meaning, this object can be then used to auto-set answer index 3 (assuming it is defined as an "Other specify" answer) with both its checkbox and the additional text in its text box.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.