Set Quota and Piped Text based off of Response? | XM Community
Skip to main content
Question

Set Quota and Piped Text based off of Response?

  • June 25, 2019
  • 3 replies
  • 26 views

Forum|alt.badge.img
I have a set of questions that asks the participant about the types of healthcare visits they have received in the last 6 months. e.g. How many of the following healthcare visits have you received? Office Visits [ ] Outpatient at hospital [ ] Inpatient at hospital (i.e. planned surgery) [ ] Emergency visit [ ] Participant can enter a number response in each of the boxes (where the number is summed in embedded data). For example: Office visits [ 6 ] Outpatient [ 1 ] Inpatient [ 0 ] Emergency [ 1 ] I would like to set a quota using a randomly selected response where their response is not 0 (e.g. can be either Office Visit, Outpatient or Emergency, depending what is assigned via a randomizer) ! In the survey, I would then like to pipe the quota text into my survey. I have tried this in a few ways, and so far it does not appear to be fully functional. What could I be missing?

3 replies

JenCX
Level 5 ●●●●●
Forum|alt.badge.img+11
  • Level 5 ●●●●●
  • 683 replies
  • June 25, 2019
I'm a little confused by your question. Can you tell me what you want to limit with the quota?

Forum|alt.badge.img
  • Author
  • 21 replies
  • June 25, 2019
I want to limit the visit reason to a set number: e.g. Office visits /100 Outpatient /100 Inpatient /100 Emergency /100 But since the original question is a multiple select, it has to be randomized to select one of the quotas and set it in the survey.

JenCX
Level 5 ●●●●●
Forum|alt.badge.img+11
  • Level 5 ●●●●●
  • 683 replies
  • June 25, 2019
Gotcha! Okay, you'll want to set up a quota for each of those visit reasons. Then, where you currently have your existing branches, you'll want to put a branch above each of them with "If quota <name> not met". To pipe in the number of each quota, use piped text: !