Generating a condition to loop back a number of times to re-ask questions - loop back depends on the number generated from an earlier question in survey | XM Community
Skip to main content

Hi - I am trying to create a survey, part of which contains a with a loop back function - loop to an either or question - and the loop is supposed to loop back ten times OR a lower number from a prior question answer.

 

The number of loop backs is to be generated from a slider question - to be a max of ten times - and the subsequent questions are a group of this (block) or that (other block), get to end, loop back and repeat. A question determines if you go this or that.

 

Final question to be done after the last loop.

 

I can’t get ‘loop and merge’ to work, and I can’t get ‘logic’ to work.

 

Are there any templates on-line or any advice?

@youngsammyg What behavior are you seeing in your survey? Can you share the QSF?


Hi - I don’t know what a QSF is - I may just upload a drawing, be easier than trying with words.


A QSF is an export of a survey. It allows you to download your survey and share it with someone else so they can use it or, in this case, look at it to troubleshoot. 

 


@youngsammyg,

You can base a loop off the numeric answer to a text entry question. So, you could change your slider to text entry question, or you could make an answer to a text entry question the value of the slider either with JavaScript or by piping it in as the default answer.


@youngsammyg,

You can base a loop off the numeric answer to a text entry question. So, you could change your slider to text entry question, or you could make an answer to a text entry question the value of the slider either with JavaScript or by piping it in as the default answer.

can i do like in excel: the response, or if it’s larger than 10, use 10 instead?


@youngsammyg,

You can base a loop off the numeric answer to a text entry question. So, you could change your slider to text entry question, or you could make an answer to a text entry question the value of the slider either with JavaScript or by piping it in as the default answer.

can i do like in excel: the response, or if it’s larger than 10, use 10 instead?

Yes, in the loop and merge setup, when you base it off a text entry numeric question there is an option to set the max number of loops.


Leave a Reply