Click or drag to resize
IUserAccessiableFilterTopicsByTopics Method (Int32, Int32, Int32)
Hides or shows the topics in Matrix, Single Choice Grid, Stopper and Counter (inTargetQuesIdx) that their mathcing (by index) topic in Single Choice Grid, Matrix and Counter (inSourceIdx) has one of the values in (inValues)

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
void FilterTopicsByTopics(
	int inTargetQuesIdx,
	int inSourceIdx,
	params int[] inValues
)

Parameters

inTargetQuesIdx
Type: SystemInt32
Target Question index
inSourceIdx
Type: SystemInt32
Source Question Index, if more than one, separate with a comma
inValues
Type: SystemInt32
Specific values to trigger the filtering in the source topics
Remarks
Assumes that the Target question's topic list is the same as the source question's topic list
Examples
If I have two questions with the same set of topics (q2,q3), and I would like q3 to show only the topics selected in q2’s topics which had value 6 and filter out the topics not selected, I can write this in q3 start script: FilterTopicByTopics(CurrQues,2,6);
See Also