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
7 years 2 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 & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 2 months ago - 7 years 2 months ago #158310 by DenisChenu
Replied by DenisChenu on topic From open text value to default setting of list
www.limesurvey.org/manual/URL_fields/en#...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 support - Plugins, theme and development .
I don't answer to private message.
Last edit: 7 years 2 months ago by DenisChenu.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose