Hi,
there are many examples in the forum to display something like a conjoint experiment.
All are adapted from a script (tpartner) to merge the radio buttons into the table and the "banana - green apple" design.
To get more information you may read my "Tutorial 3: Gimmicks", Kap. 11 in the German part.
[url]
forums.limesurvey.org/forum/german-forum...e-spielereien#252902
[/url]
Now your randomization.
You shouldn't create 6 separate random numbers, but
My solution would be
Create a question of type "long text" (pool) and enter all possible positive (those without doubles) combinations as default answer.
As far as I understand there are 324-16 (identicals) =306 valid combinations
Like (always three rows with two answer options)
#001:121111
#002:131111
#003:211111
...
#305:312233
#306:322233
Now create ONE random number (eqRand) from 1 to the number of combinations and grab this row in an equation (eqComb)
{substr(pool,strpos(pool,join('#',eqRand))+5,6)}
And you display easily with an IF construct:
Code:
<tr>
<td><span style="font-size:16px;"><strong>Wer sollte Gesetze vorschlagen?</strong></span></td>
<td><span style="font-size:16px;">{if(substr(eqComb,0,1) == 1,"Die Europäische Kommission",if(substr(eqComb,0,1) == 2,"Die Europäische Kommission und das Europäische Parlament",if(substr(eqComb,0,1) == 3, "Die Europäische Kommission und der Europäische Rat")))}</span></td>
<td><span style="font-size:16px;">{if(substr(eqComb,1,1) == 1,"Die Europäische Kommission",if(substr(eqComb,1,1) == 2,"Die Europäische Kommission und das Europäische Parlament",if(substr(eqComb,1,1) == 3, "Die Europäische Kommission und der Europäische Rat")))}</span></td>
</tr>
A second solution could be to use javascript to create the final random number.
More or less the same procedure except the option to create a loop that restarts if there are forbidden combinations.
Best you send the lss export of this question.
Joffm