Hi,
I'd like to know if I can use Expression Script in Assessment rules?
Not only that you can, you really should use ExpressionScript (only the name "ExpressionManager" was changed to avoid confusion)
These "assessment rules" are absolutely outdated. Not flexible at all, the result is not stored in the dataset, ...
The only useful part is the assessment value.
This might be useful, if you want to have negative weights or if two or more items in one question have the same weight
Like this
To learn about ExpressionScript you may read this part of the manual
[url]
www.limesurvey.org/manual/Expression_Manager/en
[/url]
that refers to the first of the sample surveys
[url]
www.limesurvey.org/manual/ExpressionScript_sample_surveys/en
[/url]
As you see you can use all implemented functions.
And to show something related to your example
As you see there are different numbers of relevant questions.
And you calculate summing up the "code" resp. summing up the "relevanceStatus"
Now if you have specific questions, please send a sample file (lss export) where you shgow what you want to do.
Joffm