The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Array of checkboxes and input text fields in Limesurvey (2.0)

Array of checkboxes and input text fields in Limesurvey (2.0) 5 months 3 weeks ago #89305

I want to create an array question that consists of checkboxes and short text input fields. Illustration:

Fruits bitter sweet salty other
orange cBox cBox cBox inputText
mango cBox cBox cBox inputText
. . . . .
. . . . .
. . . . .
inputText cBox cBox cBox inputText

Till now i can create an "Array (Multi Flexi) (Numbers)" in the Checkbox variant but not with the needed text input fields. Regarding to the example a user should be able to enter a new fruit and describe it with an own taste.

It seems that there is no way to create new question types in Limesurvey 2.0. But i found a JavaScript based workaround for arranging several single questions in one line. When trying to adapt this script i found out that its not supporting the array question type (mentioned before) i need here.

Any ideas or different approaches to this aehm, challenge? Thanks a lot in advance for any help or tricks that assist me solving this!
The administrator has disabled public write access.

Re: Array of checkboxes and input text fields in Limesurvey (2.0) 5 months 3 weeks ago #89316

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 4431
  • Thank you received: 460
  • Karma: 167
Hello,

ALready in workaround : Multiple question types in array
The administrator has disabled public write access.
The following user(s) said Thank You: knuspercrunch

Aw: Re: Array of checkboxes and input text fields in Limesurvey (2.0) 5 months 3 weeks ago #89325

DennisChenu, i know this workaround and i was refering to the same one, thx for adding the link.

But, this script does not support the question type "Array (Multi Flexi) (Numbers)"...
as i mentioned i was not able to enhance it in a way that i get a usefull result.

Is there no different way in 2.0? May creating/modifying existing question types or something else?

THX!
The administrator has disabled public write access.

Re: Aw: Re: Array of checkboxes and input text fields in Limesurvey (2.0) 5 months 3 weeks ago #89329

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2870
  • Thank you received: 429
  • Karma: 246
This shouldn't be too difficult using an array-multi-flexi-numbers followed by a multiple-short-text and then some CSS magic to align them side-by-side.

Or, maybe a better approach would be to use JavaScript to dynamically move the multiple-short-text inputs to the array-multi-flexi-numbers rows...

Can you attach a sample survey with those two questions and let us know which template you are using?
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Aw: Re: Array of checkboxes and input text fields in Limesurvey (2.0) 5 months 2 weeks ago #89697

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2870
  • Thank you received: 429
  • Karma: 246
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.182 seconds
Donation Image