0

In Qualtrics, I have a survey with 3 blocks for collecting field vehicle data:

Block 1: Starting info (day, time, etc.).

Block 2: Loops vehicle questions based on a question at the start of the block: “Enter vehicle or End?” If “Enter vehicle,” I used Display Logic to have vehicle data fields appear. I set these up to Loop and Merge X times every time the respondent chooses “Enter vehicle”. If “End” is selected, I don't want any vehicle fields to show; I want the survey to go to Block 3.

Block 3: Ending questions, which should display after “End” is selected in Block 2. I used Branch Logic in the Survey Flow to add in this condition. I also added Skip to End of Block logic in the “Enter vehicle or End?” question.

Issue: When I select “End,” it just keeps looping back to the “Enter vehicle or End?” question again instead of moving to Block 3. It seems like it wants me to go through all of the preset loops before moving on to Block 3, but that is not what I want data collectors to have to do.

What am I doing wrong? How can I achieve moving to Block 3 if "End" is selected?

Any help is appreciated.

2
  • Please provide enough code so others can better understand or reproduce the problem. Commented Sep 25 at 19:33
  • There will doubtless be more elegant ways of doing this: 1. I added a 5 element Loop with the questions on the same page. All have Display Logic: endLoopNow Is Empty. 2. Added JS below into OnLoad in the first question (add Recodes) this.questionclick = function(event, element) { if (element.type === 'radio') { var choiceNum = element.id.split('~')[2]; // Gets the recode value if (choiceNum === "2") { Qualtrics.SurveyEngine.setEmbeddedData("endLoopNow", "true"); }}}; 3. Added an embedded field endLoopNow at the top of survey Flow leaving it blank. TEST and CHECK YOUR DATA. Commented Oct 10 at 10:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.