Click or drag to resize
IUserAccessiableSetAnswerText Method
Relevant for multi\single mention question types. Will change the header text of an answer.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
void SetAnswerText(
	int inQuesIdx,
	int inAnswerIdx,
	string inText
)

Parameters

inQuesIdx
Type: SystemInt32
Target question index
inAnswerIdx
Type: SystemInt32
Target answer index
inText
Type: SystemString
The string to write to the answer

Return Value

Type: 
None
Examples
If we have a question indexed 4, and we would like to set the text in answer 8, we can use this function as follows: SetAnswerText(QRef(4),8,"Whats up Doc?"); it will change the text of answer 8 to "Whats up Doc?"
See Also