Cannot create a Variable-Length Array (Multi Flexible Text) question

Plus d'informations
il y a 7 ans 3 mois - il y a 7 ans 3 mois #85188 par Sartan
I'm trying to create a question like this:
www.partnersinc.biz/surveys//index.php?s...32&newtest=Y&lang=en

The first row is the only one initially visible, but each time you press the [+] button, you see one more row.

I'm following the instructions on
docs.limesurvey.org/tiki-index.php?page=...exible_Text_question

Step 1 is "Set up your survey to use JavaScript (See instructions here )
Step 2 is: "Add the following script to your template.js file."
Step 3: "Replace "QQ" in the function call at the end with the question ID."
I did this on Line 180 in the template.js file. I've pasted the contents of my template.js file into pastebin.com/QFhZV2iv .

Step 4: "Create one or more Array (Multi Flexible Text) questions"
I created an array question with question-id called "Associations".


Please help.
Dernière édition: il y a 7 ans 3 mois par Sartan.

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 7 ans 3 mois #85232 par Sartan
I solved the problem by doing 2 things:
1) I used the question ID, and not the question code, in the template.js file (note to self: when I make a copy of the template, I should not expect to find the copy in the same folder as the originals (/limesurvey/templates). Rather, the copies are in /limesurvey/upload/templates)
2. I switched from clear_logo template to "default" template and things just work.

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!