Welcome to the LimeSurvey Community Forum

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

default value based on previous awnsers

More
9 years 8 months ago #110588 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?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 8 months ago #110621 by tpartner
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.
More
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
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 8 months ago #110625 by tpartner
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


.

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.
More
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.

Lime-years ahead

Online-surveys for every purse and purpose