Welcome to the LimeSurvey Community Forum

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

Prefill question

  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 1 month ago #228967 by brais24
Prefill question was created by brais24
Please help us help you and fill where relevant:
Your LimeSurvey version: [3.25]
Own server or LimeSurvey hosting: Own
Survey theme/template: Fruity
==================
Hi people, fisrt of all, thx for the help.
This time, i want to prefill a multiple choice question based on another multiple choice question, for example, Q1 and Q2 with SQ001,SQ002 and SQ003 on both quesitions, i want to prefill Q2_SQ001 if Q1_SQ001 is selected, i tried with following this but im nor be able to do it.

forums.limesurvey.org/forum/can-i-do-thi...d-on-previous-answer

Any idea? Thanks for the help.

Please Log in to join the conversation.

  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 1 month ago #228968 by brais24
Replied by brais24 on topic Prefill question
I be able to do it with radio list, but not with multiple choice

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago #228972 by tpartner
Replied by tpartner on topic Prefill question
Try this:

Code:
{Q2_SQ001 =(if(Q1_SQ001 == "Y", "Y", "")}

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: brais24

Please Log in to join the conversation.

  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 1 month ago #228973 by brais24
Replied by brais24 on topic Prefill question
It works!! Thank you!!

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose