qualtrics JS capabilities | XM Community
Skip to main content

So I’ve hit a bit of an issue with the carry forward options. I have a large list of items in multiple groups is that are presented randomly (5 random groups and 5 random items from the groups). Each participant rate each item and then will answer questions based on these ratings. They will then go on to rank all the items above a certain rating. These items will then be placed in a bracket style question and this not that questions. So basically there is a lot of logic that’s based on the original ratings and for the later questions to work I need to use something that can record the dynamic list presented to each participant. The qualities support said I could try to work it out with display logic and some carry forward logic. However with approximately 1400 items this seems rather unlikely.

so I was wondering, is it possible to use the JS features and abilities to construct a code that will record the answers and pass them on later in the survey. So if someone rates A, C, G as a 5 all of those options will carry forward. And then in the later questions will do A vs C and then record the winner and pass it on. Any help would be appreciated!

Hi @Riskin Lab,
I don’t think you gonna need too much JS to do that. Can you provide more detail?


yeah of course what would you need to know?


@Riskin Lab Can you draft out the survey flow with question type and the logic condition you want from it


Ranking/item Part of Survey

Please rank these items from 1—5 in terms of how much you like them

 

For each item that you answered 3, 4 or 5, rank them in terms of which you like the most.

Why did you rank these items 3, 4 or 5?

 

 

Bracket style conservation questions (items ranked 3, 4 or 5, will be faced off with each other and the ‘winner’ of each level is then compared to the next one)

I think the conservation of vitems 1] is more important than the conservation of vitems 2]

1—5

I think the conservation of eitems 1/2] is more important than the conservation of s item 3]

1—5

I think the conservation of oitem 6] is more important than the conservation of citem 7]

1—5

I think the conservation of hitem 6/7/8/9/] is more important than the conservation of titem 1/2/3/4/5]

1—5

…] with the rest of the 3, 4, 5 ranked items

funding questions

I would donate $1 of my own money to the conservation of bracket 1 winner].

I would donate $10 of my own money to the conservation of bracket 1 winner].

n…] with the rest of the bracket winners

 

This not that questions

I will donate to conservation iitem 1] but not to vitem 2]

1—5

/…] with the rest of the 3, 4, 5 ranked items

Does this help?


@Riskin Lab Do you have at least the first part of the survey already? Like the ranking part, cuz I feel like this is just an idea in your head. Can’t help much with an idea.

Ranking/item Part of Survey

Please rank these items from 1—5 in terms of how much you like them

For each item that you answered 3, 4 or 5, rank them in terms of which you like the most.

Why did you rank these items 3, 4 or 5?

So 5 question for 5 groups, 5 random item, bring 3,4,5 forward. So 3*5=15 items go for the cup, right?

Bracket style conservation questions (items ranked 3, 4 or 5, will be faced off with each other and the ‘winner’ of each level is then compared to the next one)

I think the conservation of eitems 1] is more important than the conservation of eitems 2]

1—5

So if i choose 3, who will win? You want this kind of question or a bipolar question?


Yeah so the ranking part has been already made, although it was tedious it was for the most part easy. So for example 25 starting items and whichever they rate as 3 or higher are used for the following questions. So if they rated 15 item as 3, 4, 4, 3, 5 … they would be listed in the next question. Then they would rank them as which they prefer most so if item A - E were present they would rank them as E B D C A. Then for the next section it’s would choose two items and put them against each other. A v. B, C v. E (and D can be incorporated with the next round). Which ever  item is chosen will face each other (so if A, and E we’re chosen) the next round would be A v. E and B v. C and D v. one of the items selected randomly. Then a final ranking would be given based on the answers ( ex. 1.E 2.A 3.C 4.D 5.B. So each “battle” is a bracket and the winner moves on. The winner of each bracket is used for the next question. 
 

does that help clarify a bit? Is there anything else that you would need to know? My main wonder is whether the JS question behaviour of one question can be link to others. So one question would save the responses and then send them to the next question.


does that help clarify a bit? Is there anything else that you would need to know? My main wonder is whether the JS question behaviour of one question can be link to others. So one question would save the responses and then send them to the next question.

I just want to know if the number of item that go into the 1vs1 fight is static or not because it is a lot more complex if it’s dynamic.
If you use ranking question, the number is gonna be static because only 3 of them can be rank higher than 2. If it’s a multiple choice kind of scoring question. The number gonna be dynamic and it will make the case much more complex


Oh I see I was confused what you were asking. Well the total number of items is 15 always but the number of items that go into the 1v1 is dynamic. Because a participant can score all of them below 3 or all of them above 3 or anything in between. I think I communicated it improperly though. In the initial question, 15 items are presented and participants are asked to rate them out of 5 (this was my initial mistake because they aren’t ranking them they are rating them). The second question that asks to rank them is based on the previous and the rest of the questions are based on the rating question so the number of items is dynamic.


Leave a Reply