- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
default value based on previous awnsers
- jelle
- Topic Author
- Offline
- New Member
Less
More
9 years 8 months ago #110588
by jelle
default value based on previous awnsers was created by jelle
I'm able to set default awnsers for certain questions based on this article.
www.limesurvey-consulting.com/pre-fillin...xpression-manager-2/ but is this also possible for drop down fields and radiobuttons?
www.limesurvey-consulting.com/pre-fillin...xpression-manager-2/ but is this also possible for drop down fields and radiobuttons?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 8 months ago #110621
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 default value based on previous awnsers
No, you cannot use expression manager to set the defaults in these types of questions. You will need to do it with JavaScript.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- jelle
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
9 years 8 months ago #110622
by jelle
Replied by jelle on topic default value based on previous awnsers
Ok, thanks for the info. Doing this in javascript, so it has to go in my template?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 8 months ago #110625
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 default value based on previous awnsers
You're likely better off to put the script in the question source. That way you have access to Expression Manager variables.
manual.limesurvey.org/Workarounds:_Manip....29_in_LimeSurvey.3F
.
manual.limesurvey.org/Workarounds:_Manip....29_in_LimeSurvey.3F
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: jelle
The topic has been locked.
- jelle
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
9 years 8 months ago #110626
by jelle
Replied by jelle on topic default value based on previous awnsers
great, thanks!
The topic has been locked.