- Beiträge: 29
- Dank erhalten: 0
- Englische Foren
- Can I do this with LimeSurvey?
- Array (numbers). Unique numbers in each column, not row.
Array (numbers). Unique numbers in each column, not row.
I have an 7(y axis) x 8(x axis) array of numbers. Participants need to effectively rank the 7 items in order of importance under each of the 8 headers. Therefore I need the numbers in each column to be unique but not the rows.
A screenshot of the actual question is attached.
I used unique(self) in question validation but believe this wants all 56 numbers to be unique. I think I need to use unique(something with the question code) but I am not sure what. If it helps, my y axis is 1-7 and x axis is A-H question codes.
Thanks in advance for any advice.
- Beiträge: 10766
- Karma: 410
- Dank erhalten: 1915
unique(self.sq_A.NAOK) and unique(self.sq_B.NAOK) and …
sq_X - where X is a row or column identifier. Only subquestions matching pattern X are selected. Note that search is done on complete code identifier, then sq_X match and include subquestions nX, X, Xn (e.g. if you use sq_1, subquestions a1, 1a, 1, 11 or 001 was included). Put attention at dual scale question type where subquestions code are QCODE_SQCODE_1 and QCODE_SQCODE_1 and to ranking question type where subquestions code are QCODE_1,QCODE_2 ....
Idiot me thought I needed each row to be unique and then maybe a cross between column, rather than simply each column being unique. My logic was lost so thanks for your help.