Hi,
there are several mistakes.
1. "Stop".
If you want to screen out respondents; so you should use a quote with limit 0 - you want 0 respondents who do not fulfill the requirements.
2. "Eligible".
The equation - as any equation - has to be surrounded by curly brackets.
3. "version".
The equation has to be surrounded by curly brackets
Therefore there is no creation of a random number.
Revise this "blue" and everything is fine so far.
4. This I do not understand.
In "A1" you ask a Yes/No-question, but not mandatory. Why?
Later "CondCS1", "CondCS3" and "CondCA3" are only show if this question "A1" was not answered while "CondCA1" is shown always.
BUT: Question "A1" is part of the condition of "Eligible". meaning if somebody does not answer "A1" he is not eligible - and should be screened out. So this condition "is_empty(A1)" in "CondCS1", "CondCS3" and "CondCA3" is obsolet. A respondent leaving empty "A1" will not come to this question.
5. Some other remarks
a. "A2b". Here you expect a number. So it's better to use the correct question type "numerical input" instead of "short text"
b. The question "Eligible" is not hidden. So the respondent only sees a blank rectangle.
c. Why do you split the "age" question? It should be sufficient to ask the real age. Then you screen out the under 18.
d. In my opinion it is not the best look&feel, if questions suddenly open one after another on the same page. The respondent will be confused, maybe annoyed realizing that he still did not come to the end of the page.
The "gold standard" in online surveys is "one question per page".
Now to your other question
I would also like to set up quotas so that, once a quota is reached, respondents are redirected to another version.
To achieve this you have to count the number of versions in the already submitted surveys.
There is no built-in function in LimeSurvey 3.x. This was inplemented in version 5.x.
But there is a plugin "getStatInSurvey"
[url]
gitlab.com/SondagesPro/ExportAndStats/getStatInSurvey
[/url]
On the other hand I really doubt if the admin of your university will implement it.
The best and easiest way to achieve your goal is to watch the outcome so far and either adapt the creation of the random number (which is a bit simple arithmetic)
like
Group 1 full:
{rand(2,4)} trivial
Group 2 full:
{round(1.4*rand(1,3))} Only numbers 1,3 or 4 appear
Group 3 full:
{floor(1.4*rand(1,3))} Only numbers 1,2 und 4 appear
Group 4 full:
{rand(1,3)} trivial
Group 1 and 2 full:
{rand(3,4)} trivial
Group 1 and 3 full:
{2*rand(1,2)}
Group 1 und 4 full:
{rand(2,3)} trivial
Group 2 and 3 full:
{1+ 3*rand(0,1)}
Group 2 and 4 full:
{1+ 2*rand(0,1)}
Group 3 and 4 full:
{rand(1,2)} trivial
or you change the condition.
Let's say: Group C is full, but Group A is a bit weak. Just change the condition of Group A to "version==1 or version=

" and the condition of Group C to "0"
Joffm