From open text value to default setting of list

More
3 months 6 days ago #158296 by maknase
maknase created the topic: From open text value to default setting of list
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!

Please Log in to join the conversation.

More
3 months 6 days ago - 3 months 6 days ago #158310 by DenisChenu
DenisChenu replied the 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
{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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 3 months 6 days ago by DenisChenu.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!