Hi,
you may use all functions that you find here
[url]
www.limesurvey.org/manual/ExpressionScri...mplemented_functions
[/url]
to calculate your score.
Usually you will use the "sum()" function, optionally with some "IFs"
And to calculate you either use the code of the answer options (obviously you have to use numerical codes) or you use the assessment values of the answer options.
Advantage of the second approach: You can use the same value for different options and you can use negative values.
And how you access these values to use them in your sum, read here
[url]
www.limesurvey.org/manual/ExpressionScri...#Access_to_variables
[/url]
You see, there is
a. QCode, QCode.code, QCode.NAOK with the description "the selected response code for the question"
b. QCode.value, QCode.valueNAOK with the description "the assessment value for the question"
Knowing this, you may create a question of type equation with your desired sum, like
{sum(Q1.NAOK,Q2.NAOK,Q3_SQ001.NAOK,Q3_SQ002.NAOK,Q4.valueNAOK,that.Q5.NAOK)}
You see you can mix codes and assessment values.
And of course you can create more sophisticated ways to calculate your score.
Here an example that uses "multiple" questions
{sum(if(Q1_SQ001.NAOK=="Y",1,0),if(Q1_SQ002.NAOK=="Y",5,2),if(Q1_SQ003.NAOK=="Y",-7,7),if(Q1_SQ004.NAOK=="Y",0,10))}
You see the meaning:
If the first subquestion was selected, add 1 else add 0
If the second subquestion was selected, add 5 else add 2
If the third subquestion was selected, subtract 7 else add 7
If the fourth subquestion was selected, add 0 else add 10
But you should always use NAOK.
[url]
www.limesurvey.org/manual/ExpressionScri...ion/en#Usage_of_NAOK
[/url]
Otherwise the function will fail, if there is a missing element (because of a filter).
Now start to create something.
In case of more questions, send your approach as lss export.
Joffm