Click or drag to resize
IUserAccessiableSetAnswerTextFormat Method
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

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
void SetAnswerTextFormat(
	int inQuesIdx,
	int inAnswerIdx,
	params DVar[] inValues
)

Parameters

inQuesIdx
Type: SystemInt32
Target question index
inAnswerIdx
Type: SystemInt32
Target answer index
inValues
Type: SurveyToGo.UserLogic.InterfacesDVar
One text object or more - if more, seperate with a comma

Return Value

Type: 
None
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
See Also