Using Multiple Choice questions instead of Text Entry questions when bringing data over | Experience Community
Skip to main content
Solved

Using Multiple Choice questions instead of Text Entry questions when bringing data over

  • Jul 28, 2021 12:14 AM UTC
  • 3 replies
  • 94 views

Hi everyone,
I'm setting up a longitudinal study in which I need to pull data from Survey 1 to Surveys 2 and 3. Unfortunately, I need to use a multiple-choice question, allowing multiple answers, which according to the Qualtrics guide "In order to use Multiple Choice questions instead of Text Entry questions, you will need to use JavaScript. Qualtrics Support cannot advise on custom coding..."
Has anyone ever done this? Any tips or examples of JavaScript code that I could adapt? Any help would be appreciated!
Many thanks,
Paula

Best answer by ahmedA

Put all the previous data in an ED. Put all the choices in the MC question. Then use display logic on the choices, if ED contains..., to display only thr relevant one's.

View original

3 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • Jul 28, 2021 6:23 AM UTC

Put all the previous data in an ED. Put all the choices in the MC question. Then use display logic on the choices, if ED contains..., to display only thr relevant one's.


  • Author
  • Jul 29, 2021 4:39 AM UTC

ahmedA Thanks, this is a great idea but I didn't mention (!) that what is being pulled is actually "Selected choices - Entered text". So I don't know yet all the possible choices to put them in the MC question, as they will vary per participant.
In this case, they are informing the name of a topic in the first questionnaire "Selected: Topic 1; Entered text: Water cycle". I would like to pull in "Water cycle" as a potential answer, rather than "Topic 1".


  • Author
  • Jul 30, 2021 10:13 AM UTC

ahmedA All right... I actually was able to do the first part of your suggestion (choices are loading in the MC question). The next step is to implement the Display Logic. Slowly but surely getting there... Definitely earning my QUBIE badge here 😂 Thanks for your help!