Fixed option while masking options.

0

HI Guys, I’m very new to confirmIT. I’m here with a scenario which might be easy for someone here.

I have two questions one is ranking with 6 options and another 3D grid where I’m piping options selected in ranking into 3D grid answers. In ranking out of 6 respondent can select 5 or more. But 1st option should be constant in 3D grid even though they ranked it as 6th. How can i do this?

asked December 18, 2017

2 Answers

0
//qrank - Ranking question id //q3dgrid - Question id Node which is place inside the 3d grid container function Mask3DGridWithRank(qrank,q3dgrid) { var s = new Set(); var arr = f(qrank).domainValues(); for(var i=0;i 0 ) { s.add(arr[i]) } } return s; } Step 1 : Place this script before the 3dgrid question inside the script node. Step 2 : Mask3DGridWithRank(qrank,q3dgrid) place this function inside the masking tab -- code masking of 3d grid container Step 3 : Replace the qrank with ranking question id and q3dgrid with the node which your using inside the 3d grid.
0
//qrank - Ranking question id//q3dgrid - Question id Node which is place inside the 3d grid container function Mask3DGridWithRank(qrank,q3dgrid){var s = new Set(); var arr = f(qrank).domainValues(); for(var i=0;i 0 ) { s.add(arr[i]) } }return s;} Step 1 : Place this script before the 3dgrid question inside the script node. Step 2 : Mask3DGridWithRank(qrank,q3dgrid) place this function inside the masking tab -- code masking of 3d grid container Step 3 : Replace the qrank with ranking question id and q3dgrid with the node which your using inside the 3d grid.

Your Answer

Please login to post questions.