How To Add Special Codes

Overview

 

In certain question types, there are cases where you would want to add the option to code single choice answers that represent Refuse to Answer or Do Not Know and similar rather than specifying the answer.

For these cases we have the “Special Codes” feature, that allows you to add single choice answers in the following question types: Open ended, Numeric, DateTime.

Adding Special Codes answers

Under the question’s View tab, you can find the “Special Codes” tab:

Once you open it, you can add the single answers you want (using the “Add” / “Multi-Add” buttons, the same way as adding answers to a “regular” single choice question):

On screen, the special codes answers will appear at the bottom with the option to code them:

 

 These are some common functions used with this type of answers:

  • IsCodesAnswer(QuestionIndex) - This function's return's 'true' or 'false' if a special code was selected in a Numeric\Open-Ended question 
  • IsCodesAnswerIter(QuestionInedx. IterationIndex) - This function's return's 'true' or 'false' if a special code was selected in a Numeric\Open-Ended question within a loop with a given iteration. 

The Answer function will return the index of the special code option i.e in the above example if Don't Know was selected then:

  •  IsCodesAnswer(CurrQues)  will return 'true'
  • Answer(CurrQues) will return 1 

 

Visit us at http://support.dooblo.net

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.