- Posts: 61
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to auto-fill a hidden question depending on token attributes?
- FranzGerbig
- Topic Author
- Offline
- Senior Member
Less
More
8 years 6 months ago #124814
by FranzGerbig
using LS 3.13.2+180709
How to auto-fill a hidden question depending on token attributes? was created by FranzGerbig
Hi,
How to auto-fill a hidden question depending on token attributes?
example:
- token attribute_1 is one out of 11 countries
- I want to auto-fill the hidden q1 with the corresponding value [1-11]
(- and then refer to this value in equations/conditions instead of typing in the letters of the attribute, since not all of following questions match all countries)
-> What kind of question type should I use? I thought a radio list (containing 11 answer options) with assessment in the advanced settings should work, but it doesn't.
thanks a lot
bilo
How to auto-fill a hidden question depending on token attributes?
example:
- token attribute_1 is one out of 11 countries
- I want to auto-fill the hidden q1 with the corresponding value [1-11]
(- and then refer to this value in equations/conditions instead of typing in the letters of the attribute, since not all of following questions match all countries)
-> What kind of question type should I use? I thought a radio list (containing 11 answer options) with assessment in the advanced settings should work, but it doesn't.
thanks a lot
bilo
using LS 3.13.2+180709
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 6 months ago #124817
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic How to auto-fill a hidden question depending on token attributes?
Does this help?
manual.limesurvey.org/Expression_Manager#Access_to_Variables
manual.limesurvey.org/Expression_Manager#Access_to_Variables
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
8 years 6 months ago #124829
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How to auto-fill a hidden question depending on token attributes?
why would you use assessments in this case?
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.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
8 years 6 months ago #124859
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic How to auto-fill a hidden question depending on token attributes?
You can use a hidden equation type question and populate it with nested IF() statements .What kind of question type should I use?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.