After Q1 has been answered, insert this Perl Script into the footer of a question that is not skipped. We want this script to execute.
First define a Pass-In Field and call it "PSMPath". Define it as a whole number.
Insert this script in to an appropriate question.
[%Begin Unverified Perl
if (VALUE("Q1_1")==1 && VALUE("Q1_2")==0)
elsif (VALUE("Q1_1")==0 && VALUE("Q1_2")==1)
elsif (VALUE("Q1_1")==1 && VALUE("Q1_2")==1)
You can now use PSMPath in skip logic to jump over questions.
1/ I have assumed Q1 is a multiple response select question.
2/ I have assume Product 1 is code 1 and Product 2 is code 2.
3/ If only one of the products is mentioned at Q1, that pathway will be allocated (Product 1 will have PSMPath=1 and Product 2 will have PSMPath=2 ).
4/ If both Products 1+2 are mentioned at Q1, one will be randomly selected.
You should see a fairly close pathway split between Products 1+2 where they are both mentioned, but if you wanted to be even stricter on this, you can introduce least fill quotas in to this solution.