- Posts: 5
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
When using a array number question LS 2.06 would make it possible to sum up every column to e.g. 100 and generate an error message if the column is not 100. Correct? Or was that possible with LS 2.05 as well?Mazi wrote: Relevance equations for sub-questions are supported at the upcoming Limesurvey 2.06 version.
Is there a link for an example or a section in the manual? I told someone that it isn't possible via EM in LS 2.05. Which seems to be a wrong statement.Mazi wrote: At LS 2.05 I would have used a question validation equation to sum up each column and check the related value. .
See the "What is the total of column 3?" example at: www.limesurvey.org/manual/Expression_Man....27that.27_variablesjelo wrote: Is there a link for an example or a section in the manual? I told someone that it isn't possible via EM in LS 2.05. Which seems to be a wrong statement.
In 2.05, I would use an array-texts questions with the following settings:When using a array number question LS 2.06 would make it possible to sum up every column to e.g. 100 and generate an error message if the column is not 100. Correct? Or was that possible with LS 2.05 as well?
sum(self.sq_A1.NAOK) == 100 AND sum(self.sq_A2.NAOK) == 100 AND sum(self.sq_A3.NAOK) == 100
{if(sum(self.sq_A1.NAOK) != 100 OR sum(self.sq_A2.NAOK) != 100 OR sum(self.sq_A3.NAOK) != 100, 'All columns must total to 100!', '')}