This - above - idea works.
But you will need two more equations for each of your test questions.
Here is a different idea:
Create in the first group a (hidden) question of type "short text" (counter). This will be the container for the results.
Now, after each test question add a (hidden) question of type "equation" with this
{counter=join('#',V11.valueNAOK,V12.valueNAOK,V13.valueNAOK,V14.valueNAOK,V21.valueNAOK,V22.valueNAOK,V23.valueNAOK,V24.valueNAOK,V31.valueNAOK,V32.valueNAOK,V33.valueNAOK,V34.valueNAOK,'#')}
Here only four questions of each age group.
In the question "counter" you join the assessment values of all questions.
Answering the questions "wrong", "right", "right", "wrong", "wrong", "wrong" will give a result like
#011000#
In my small example I leave the test after three consecutive "wrongs"
Meaning: If the above string #011000# contains "000" there are three consecutive "wrongs".
Now you can set the relevance equation of the questions to
(AgeYear le 13 AND strpos(counter,"000")==0)
resp.
(AgeYear le 15 AND strpos(counter,"000")==0)
(AgeYear le 17 AND strpos(counter,"000")==0)
Proceed, as long there is no "000"
About "strpos" read the manual about "implemented functions"
[url]
www.limesurvey.org/manual/ExpressionScri...mplemented_functions
[/url]
Here a sample survey.
My other idea I will show later
Joffm