mysql - Lime Survey Equation -
in lime survey, want sum total of subquestion values in array question.
i used following:
{(a1_sq1.value+a1_sq2.value+a1_sq3.value+a1_sq4.value+a1_sq5.value+a1_sq6.value+a1_sq7.value+a1_sq8.value+a1_sq9.value+a1_sq10.value+a1_sq11.value)}
if click array radio buttons in order, correct total. if check on them out of order, each individual response listed in sequence (i.e. no sum).
so clicking in order might '18', whereas, if did whole set backwards, i'd '12221222112'
is bug, or writing equation wrong?
if question code array "a1", return total value array:
{sum(that.a1.value)}
Comments
Post a Comment