Quantcast
Viewing all articles
Browse latest Browse all 17529

random assignment - by: Zimone85

3) I have one question group composed by two questions called vignette1 and vignette2. I want subjects to be assigned randomly to one or the other. Following the LimeSurvey online user manual I created another question before vignette1 and vignette2. This is a question with the following settings:
Always hide this question: Yes
Type: Equation
Mandatory: No
Question: rand(1,2)
This generates randomly either 1 or 2. Then in the field “relevant equation” of vignette1 and vignette2 I specified ((Random==”1”)) and ((Random==”2”)), respectively. I specified both vignette1 and vignette2 as mandatory questions.
When I test the survey, the randomization works but when I submit the answer it gives me an error. I guess it is because I specify that both vignette1 and vignette2 are mandatory and using the random command I don’t fill one of the two. I also attach a screenshot of the error.

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>