SetAnswerVisible

void SetAnswerVisible (Int32 inQuesIdx, bool inShow)

Description

Will Hide/Show the answers in a question

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Index of the Question
inShow bool True will show the answers, False will hide them

Return Type

void

Overloads

List of overloads for this function

void SetAnswerVisible (Int32 inQuesIdx, Int32 inAnswerIdx, bool inShow)
void SetAnswerVisible (Int32 inQuesIdx, bool inShow, bool inReset, Int32[] inArray)

Parameters for overloads:

Parameter Type Description
inQuesIdx Int32 Target question
inShow bool  True will show the answers, False will hide them
inAnswerIdx Int32 Index of the answer
inReset bool True/False to reset 
inArray Int32[] An array that will include all the answer indexes

 

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

Comments

1 comment
  • How to show relevent options based on a previous question's answer?

    For example i have a scale of car and bike brands.

    1st question is say which type of vehicles do you prefer. The next question should show only brands of car or bike based on the 1st question.

    0
    Comment actions Permalink

Please sign in to leave a comment.