Millisecond Forums

Select sequence of questions for surveypage in random order.

https://forums.millisecond.com/Topic28213.aspx

By Zahra - 2/2/2020

Dear Forum users,
I have 8 questions in pairs of 2 (i.e. 4 blocks of questions, each containing 2 questions that should be presented consecutively) .
How can I randomize the order the block of questions in a not so complicated way?

I tried

<surveypage explicitrating>
/questions = [1-4=noreplace(sequence(q1.1,q1.2); sequence(q2.1, q2.2); sequence(q3.1, q3.2); sequence(q4.1, q4.2) )]
/showpagenumbers = false
/nextbuttonposition = (70%, 95%)
/showbackbutton = false
/nextlabel = "Next"
</surveypage>


which returns an error.
Thank you for your help!
By Dave - 2/3/2020

Zahra - 2/2/2020
Dear Forum users,
I have 8 questions in pairs of 2 (i.e. 4 blocks of questions, each containing 2 questions that should be presented consecutively) .
How can I randomize the order the block of questions in a not so complicated way?

I tried

<surveypage explicitrating>
/questions = [1-4=noreplace(sequence(q1.1,q1.2); sequence(q2.1, q2.2); sequence(q3.1, q3.2); sequence(q4.1, q4.2) )]
/showpagenumbers = false
/nextbuttonposition = (70%, 95%)
/showbackbutton = false
/nextlabel = "Next"
</surveypage>


which returns an error.
Thank you for your help!

From <surveypage q1.1> /branch to <surveypage q1.2>, from q2.1 /branch to q2.2, etc.

Randomize only the 1st question each.

/ pages = [1-4 = noreplace(q1.1., q2.1, q3.1, q4.1)]