SetAnswerTextFormat

Void SetAnswerTextFormat(Int32 inQuesIdx, Int32 inAnswerIdx, Dvar[] inValues)

Description

Relevant for multi/single mention question types. Will set a text object by using piping methods into one place holder or more in the relevant answer

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Question Index
inAnswerIdx Int32 The answer index
inValues DVar[] Values to set

Return Type

Void

Examples

If we have a question indexed 4, and we would like to pipe text into answer number 2, by having place holder in it ({0}) , we can use this function as follows: SetAnswerTextFormat(QRef(4),2,"just a test text");

it will pipe the text we wrote into the place holder

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.