I created a random generator to show one of two questions when someone fills out the survey.
The codes are as follows:
1 = Neutral
2 = Environmental
The questions are labeled
OA05 Neutral
OA06 Environmental
When I go to the Compose Questionnaire section I followed the instructions to list the Random generator and then add a PHP code followed by the questions.
In this case:
if (value ('Neutral') == 1) {
question('OA05');
} else if (value ('Environmental') == 2) {
question('OA06');}
For some reason I keep getting "Variable Neutral is unknown to this project (see listing of variables). Therefore no result can be retrieved." and the same for Environmental variable.
I also added internal variables and I got the same issue. What I'm I missing? (first time user >_<)
Thanks in advance for your help!