default value based on previous awnsers

More
2 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?

Please Log in to join the conversation.

More
2 years 8 months ago #110621 by tpartner
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.

Please Log in to join the conversation.

More
2 years 8 months ago #110622 by jelle
Ok, thanks for the info. Doing this in javascript, so it has to go in my template?

Please Log in to join the conversation.

More
2 years 8 months ago #110625 by tpartner
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

Please Log in to join the conversation.

More
2 years 8 months ago #110626 by jelle
great, thanks!

Please Log in to join the conversation.