Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

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

PaulaGdB
PaulaGdB Community Member Qubie ✭
edited August 2 in Survey Platform

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

  • ahmedA
    ahmedA IndiaCommunity Member, XMPN Member Wizard ✭✭✭✭✭
    Accepted Answer

    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.

Answers

  • PaulaGdB
    PaulaGdB Community Member Qubie ✭

    @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".