Expression question are hidden questions that are used in order to store data and execute scripts.
They can be used as dummy-questions for complex calculations, data collection and analysis.
This How-To will show you how to create such and use them.
- Add an expression question, and write its body text.
The body text will not be displayed, but will be used for understanding the usage of this expression when analyzing the data.
- Write a script in its answers tab.
An Expression question must return a value.
- Now, every time you need to get the returned value from the expression question, you can refer to it with Answer(*INDEX OF THE EXPRESSION QUESTION*), for Example, assuming our expression is index 10: Answer(10); will get the returned value of the expression.
Visit us at: http://www.dooblo.net
Please sign in to leave a comment.