Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

No answers saved - Array (texts) question with custom question format

  • LSWipo
  • LSWipo's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 day 20 hours ago #269665 by LSWipo
Please help us help you and fill where relevant:
LimeSurvey version: LimeSurvey Cloud Version 6.11.0
Own server or LimeSurvey Cloud: LimeSurvey Cloud Version
Survey theme/template: fruity
==================
Hello,

I am currently working on a survey and have encountered an issue where no answers are recorded for my Array (Texts) [;] type questions when the survey is activated and running.I have used the Array (Texts) [;] question type to implement a custom question format. Hence, I am inserting HTML elements (radio buttons, sliders, and input fields) into each of the matrix cells. Each cell contains:
  • Three radio buttons
  • A slider
  • An optional number input field, which appears when the slider reaches its maximum value (-15% or 15%) to allow participants to enter a more precise percentage.
Each subquestion of the matrix is correctly recognized by LimeSurvey, as I have defined them on both the given X and Y scales. However, the responses are not saved when I check the collected data after running the activated survey. In the exported responses (e.g., CSV file), the corresponding answer fields appear as empty values (,,,,,).Essentially, the radio button selection, the slider value, and the input field value (if used) should be recorded as responses for each subquestion. I am not exactly sure what I have to add to the code, such that the answers of the HTML elements are stored.I have attached a modified version of the survey as an example as well as some screenshots of the question and the missing answers in the collected data. Any insights into what I am missing in the code and how I can ensure the responses are saved would be greatly appreciated.Thank you for your time and help!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 day 19 hours ago #269666 by Joffm
Hi,
it's obvious that there is nothing saved.
There are no columns in the database.
You use an array(text) with two subquestions in y-axis and two subquestions in x-axis.
So you can store only four values.
Furthermore there is no listener on buttons to store their value (slider as well).

Here is something similar.
Maybe you can get some useful hints.
[url] forums.limesurvey.org/forum/german-forum...rays?start=12#258338 [/url]
and
[url] forums.limesurvey.org/forum/can-i-do-thi...list-in-array#239351 [/url]

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: LSWipo

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose