Welcome to the LimeSurvey Community Forum

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

From open text value to default setting of list

  • maknase
  • maknase's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #158296 by maknase
Hi! I'm on verion 2.05. I have a survey where an open text field is filled with a passthru value. Based on this value a specific answer of a list must be selected as I need to set quotas on it.

Example:
the passthru variable YOB=1989.
I can now use an equitation question to calculate the age and store it (this can be in a different question group)
Then I have a list radio question with several age groups where answer3 is 25-29 (this can be in a different question group).

How can I preselect this answer? Can you point me in the right direction or is there maybe an easier way to this?
thanks!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 7 months ago - 6 years 7 months ago #158310 by DenisChenu
Replied by DenisChenu on topic From open text value to default setting of list
manual.limesurvey.org/URL_fields/en#Pref...using_GET_parameters


Else,
Equation question type with
Code:
{AgeTra=if(Age <= 18,"A1",if(Age <= 25,"A2","A3"))}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 6 years 7 months ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose