Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Identifying Page Randomization Order

The order of 2 consecutive questions Q1 and Q2 is randomized using Randomize Pages.

I will like certain question texts to appear for the question that appears first and that appears later.  How can I achieve this?

asked May 29, 2017 by Anthony Ang (485 points)
retagged May 29, 2017 by Walter Williams

1 Answer

+1 vote
Anthony, you can use randomised blocks with the constructed list method applied.

By looking at the constructed list using the function "ListValue", you can insert script accordingly.

Define 1 set with 2 blocks.

Block 1: Q1 to Q1
Block 2: Q2 to Q2

Create a parent list called "DisplayList".

1: Q1
2: Q2

Now create a constructed list called "DisplayConList" as follows ...

This constructed list will use the parent list "DisplayList".
Use "DisplayConList" in your set / blocks to apply the randomisation effect.

When inserting script, use something like this ...
[%Begin Unverified Perl 

 my $Intro="";

   $Intro="Hello world."; 

 return $Intro;
End Unverified%]
answered May 29, 2017 by Paul Moon Platinum (67,780 points)
edited May 29, 2017 by Paul Moon
Thank you very much for your help, Paul.