Is there a way to make a conditional branch based on the summation of participants responses? | XM Community
Skip to main content

Hi! I am designing a game theory experiment in Qualtrics. For this, participants will be selecting a number of tokens to take from a pot. The game will end once all the tokens are selected.

I’ve been building this in a ‘brute-force’ kind of way where I make many conditional branches of every possible combination of token selections. I’d like to know if there is a more efficient way to do this. Maybe something I can code in JavaScript that would sum the total number of selections so far?

Thanks in advance!

@Evie 

Yeah, coding will be more efficient, but I don’t know if there’s anything change that you can alter the code by yourself

Instead, you can make branch condition out of this math operation: https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/piped-text/math-operations/

Hope this helps


Leave a Reply