Acces variables in Array (numbers)

More
4 years 7 months ago #94818 by Johanroe
Johanroe created the topic: Acces variables in Array (numbers)
Hello all,

Although I have read the manual on the Expression Manager, I still encounter some (probably very basic) problems. I could not find any similar problems on the forum.

My objective is to add equations which will calculate a ratio of earlier answered questions.
One of the answered questions is an array of numbers in a matrix of 2 by 2.

Only the first column is of relevance to me, but i cant seem to find out how to refer to these.
It tells me that the variables is undefined.

{vzoregels/aantalfte_sq001_1} is one of the things i tried, whereby "vzoregels" and "aantalfte" are the names that i assigned to the questions.

Can someone please help me out? Again, I am sorry as it is probably very simple.

Please Log in to join the conversation.

More
4 years 7 months ago #94819 by Johanroe
Johanroe replied the topic: Acces variables in Array (numbers)
Hello,

I think I have a working solution. I changed the question type to Array (text) and set in the settings to only numerical answers.
Using the table in the manual about accessing variables I now used:

{vzoregels/fte_SQ001_SQ001}

which is working!

Sorry to bother
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
4 years 7 months ago #94852 by DenisChenu
DenisChenu replied the topic: Acces variables in Array (numbers)
Yes,

Think it's that, but i think it's best to use X1,X2,X3 and Y1,Y2,Y3 for sub q code ;).

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!