Check out the LimeSurvey source code on GitHub!

Display text in Array Text question type

5 years 5 months ago #66061 by rafael_ur
Hi,
How can I show text from a question Array Text?
Not working with {INSERTANS:SGQA}
Thank,
Rafael

Please Log in to join the conversation.

5 years 5 months ago #66069 by Mazi
1. Which Limesurvey version do you use?

2. Can you provide us with a link to the survey holding the question you are referring to? I can then give you the according ID.

3. Alternatively have a look at this feature "$showsgqacode: (>1.91) This setting is used at the printable survey feature Image and defaults to false. If you set $showsgqacode = true; the IDs for each question - and answer if applicable - will be shown; these IDs match the column heading at the Lime_survey_12345 table which holds the answer data for a certain survey. These Ids can be used for a code book for manual database queries."
Link: docs.limesurvey.org/Optional+settings#St...nd_Response_Browsing

It lists the IDs of all fields which should help you referencing the correct value.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

5 years 5 months ago #66077 by rafael_ur
Hi Mazi,

The Versión 1.91+ Build 10859,
The link:
www.innovaim-online.com/limesurvey/index.php?sid=66425&lang=es

It's in question p22 where I want put text the p21.

Many thank,
Rafael

Please Log in to join the conversation.

5 years 5 months ago #66078 by holch
What does this line stand for? "OTROS 1text p21"

Are you sure you are using the SGQA correctly? You must use the IDs provided by limesurvey, just like shown here: www.docs.limesurvey.org/tiki-index.php?p...#General_Description

And not the question code that you gave when creating the question. Could you check if this is correct?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

5 years 5 months ago #66079 by holch
What also could be that you are using the "wrong" question type. Multipe Text should work. Maybe the problem is the "other" field.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

5 years 5 months ago #66082 by rafael_ur
Holch,

I'm sorry don`t know how to call text.
I've tried {INSERTANS:66425X140X20501}text p21
and also
{INSERTANS:66425X140X20501comment}
both are bad.

Than,
Rafael

Please Log in to join the conversation.

5 years 5 months ago #66084 by holch
My first guess would be that you can't call the comment text for this type of question. Can't you use a Multiple short text? Maybe just give it a try if it works.

I am not an expert on this, but with {INSERTANS:66425X140X20501} you probably just call the tick box. I couldn't find any reference if and how you could call the comment text for this tick box.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

5 years 5 months ago #66085 by rafael_ur
With Multiple short text is OK.
Many thank.

Please Log in to join the conversation.

5 years 5 months ago #66114 by Mazi

holch wrote: I couldn't find any reference if and how you could call the comment text for this tick box.

Holch, can you have a look at this feature "$showsgqacode: (>=1.91) This setting is used at the printable survey feature and defaults to false. If you set $showsgqacode = true; the IDs for each question - and answer if applicable - will be shown; these IDs match the column heading at the Lime_survey_12345 table which holds the answer data for a certain survey. These Ids can be used for a code book for manual database queries."
Link: docs.limesurvey.org/Optional+settings#St...nd_Response_Browsing

When calling the printable survey having the above feature activated and using a question with additional other/comment field, you should see the correct ID there.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form