Welcome to the LimeSurvey Community Forum

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

Numerical input with radio buttons

  • MSonnier
  • MSonnier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #124193 by MSonnier
Numerical input with radio buttons was created by MSonnier
Hello,

I'm interested in having an array where each option has a numerical input and two/three radio buttons (an exclusive answer for each option).

I've edited an image to show what I'm thinking of:



Can this be done?

Thank you for any help.

-M
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 2 months ago #124195 by holch
Replied by holch on topic Numerical input with radio buttons
Have a look at the workaround section. There is a workaround that combines different question types so it looks like it is one question.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • MSonnier
  • MSonnier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #124199 by MSonnier
Replied by MSonnier on topic Numerical input with radio buttons
Hello,

Thank you for your reply.

Are there alternative methods? I need a 16 row x 2 column array (first column is numerical inputs, second column is 1x3 radio button arrays, just like above but with more rows).

Also, are there simpler ways of editing the example provided in the manual? I'm finding it quite cumbersome to make even small changes.

Thank you again for your time and assistance.

-M
The topic has been locked.
  • MSonnier
  • MSonnier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #124207 by MSonnier
Replied by MSonnier on topic Numerical input with radio buttons
To add to my previous question, I am just interested in having a 'multiple numerical input' question next to (on the left of) an array. Both have the same number of rows. Is there a simple way to align them side-by-side? (Similar to the image above.)

Thank you again.

-M
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 2 months ago #124221 by tpartner
Replied by tpartner on topic Numerical input with radio buttons

Also, are there simpler ways of editing the example provided in the manual? I'm finding it quite cumbersome to make even small changes.

Yeah, if you are looking at the Multiple question types in array workaround , it's probably overkill for your requirements - it was designed for many different question types.

I would add a multiple-numeric question after the array and then move those inputs up into a new column in the array. Something like these two posts:
- www.limesurvey.org/en/forum/design-issue...estion-to-text-input
- www.limesurvey.org/en/forum/can-i-do-thi...-and-dropdown#120555

I guess you will also need to write a validation script to ensure that the radios and numeric inputs are exclusive.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose