To set up random variables in a questionnaire, select Questionnaire | Preferences and then click the Randomization tab.
Setting up a random variable requires the following steps:
You can modify the Weight of values to make them more or less likely (e.g. if you want the variable to be True twice as often as False, give True a weight of 2 and False a weight of 1). Fractional weights are supported, but we recommend using integer values for weight.
Random variables are assigned values when the user starts filling it in. Once the user starts, the variables remain constant unless they variable's name matches the column name of a question.
If you want to see the value assigned to a random variable inside a form you can create a Text Response question with the same column name as the variable's name. The text response will display the variable and let you change it (e.g. for testing purposes).