Welcome to the LimeSurvey Community Forum

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

Select radio option based on numerical input from a previous question

  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 4 months ago #161131 by blocka
I have a numerical question type: N1: "Please enter your age:"

And I then have a following hidden radio button type question:

R1: Your age range:
< 20
21 - 30
31 - 45
46 +

I'd like to populate the correct option in R1 based on the value entered in N1

Can anyone provide an example of how to do this?
The topic has been locked.
  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 4 months ago - 6 years 4 months ago #161139 by blocka
I figured it out, and have attached a sample survey in case it helps anyone else.

Note that this only seems to work when you display Group by Group, and put the numeric input type question in the first group, and the radio and equation question in the 2nd group.

So it won't work in All in one type surveys.

File Attachment:

File Name: survey_458336.lss
File Size:16 KB
Last edit: 6 years 4 months ago by blocka.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose