Termination Logic | XM Community
Skip to main content
Question

Termination Logic


Forum|alt.badge.img+1

Hi everyone. I am hoping you can help. I cannot figure out how to program this particular termination logic. 

The programming note is : [TERMINATE if #2 and #3 are both j, or both only b and/or d]

I have figured out the both j 

I cannot figure out how to achieve both only b and/or d

Here are Q2-3 for reference.

Screeners

  1. What is your age?  [textbox] [Require a numeric entry with no decimals.
    TERMINATE if Age < 18]

     
  2. In the last 2 years, have you attended any of the following, in-person or virtually? Select all that you have attended since January 2022. [RANDOMIZE]

 

  1. Music performance, non-commercial (jazz, classical, chamber, world, voice, etc.
  2. Music performance, popular (rock, pop, hip hop, country, etc.)
  3. Film, non-commercial (independent & art films, film festivals, etc.)
  4. Film, mainstream (i.e., wide-release in theaters)
  5. Theater (musical, play, puppetry, etc.)
  6. Creative workshops, lectures, readings, etc.
  7. Dance (ballet, contemporary, etc.)
  8. Art museum, gallery, or exhibition
  9. Other arts activity (please specify) [textbox]
  10. I have not attended any of the above [pin]
  1. Are you interested in attending any of the following, in-person or virtually, in the next year? Select all that you are interested in attending between now and January 2025.[RANDOMIZE]
  1. Music performance, non-commercial (jazz, classical, chamber, world, voice, etc.)
  2. Music performance, popular (rock, pop, hip hop, country, etc.)
  3. Film, non-commercial (independent & art films, film festivals, etc.)
  4. Film, mainstream (i.e., wide-release in theaters)
  5. Theater (musical, play, puppetry, etc.)
  6. Creative workshops, lectures, readings, etc.
  7. Dance (ballet, contemporary, etc.)
  8. Art museum, gallery, or exhibition
  9. Other arts activity (please specify) [textbox]
  10. I am not interested in attending any of the above [pin]

[TERMINATE if #2 and #3 are both j, or both only b and/or d]

6 replies

Forum|alt.badge.img+20
  • QPN Level 5 ●●●●●
  • 290 replies
  • March 7, 2024

Hi @kepkam for “both only b and/or d”, it can further classified into few more conditions.

  1. Only B is selected in both Q2 and Q3. 
    1. Only D is selected in both Q2 and Q3. 
      ​​​​​
      1. Only B and D is selected in both Q2 and Q3. 

       


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 6 replies
  • March 7, 2024

Thank you so much!  I swear I have a ne wpatch of gray hair from trying to figure this one out.

 


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 6 replies
  • March 7, 2024

I am running into a bit of a problem.

Although the logic works for most instances - it is still terminating when I test the following.

I am not sure if it is the 2 selected logic that is causing this? 
I need the logic to ensure that ONLY those that have no interest in anything other than popular film and/or popular music are terminated.

If they select those options along with others - then they qualify.

 


Forum|alt.badge.img+20
  • QPN Level 5 ●●●●●
  • 290 replies
  • March 7, 2024

@kepkam I got a bit confused here, can you confirm the logic condition, “if the respondent selects any other option along with B and/or D it should be terminated”, right?

 


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 6 replies
  • March 7, 2024

Thanks for the reply.

If the respondent selects any other option along with B and/or D it should not terminate.

The terminations should only be if B and/or D are selected in both 2 and 3.

Meaning the patron is only interested in MAINSTREAM film and/or POP music.

We do not present either. But if they also like other genres - then they should take the survey.

 


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 6 replies
  • March 7, 2024

Also - Qualtrics chat ended up putting this logic in which fixed the above but them eliminated the terminations that I had originally inputted that were suggested above.

 


Leave a Reply