<problem>
<include>
<parserlib>multiple_choice_tag</parserlib>
</include
<outtext>
Please select the fruit from the list below.
</outtext>
<multiplechoice
numoftrueleafs=2
numoffalseleafs=4
numofpresentedleafs=4>
</multiplechoice>
<randomlist>
<comment>
this tag implements a condition like:
condition="&ismemberoflist(1,@whichfalse)"
</comment>
<multiplechoiceresponse type="false">
<radio value=false> Trucks </radio>
</multiplechoiceresponse>
<multiplechoiceresponse type="false">
<radio value=false> Cars </radio>
</multiplechoiceresponse>
<multiplechoiceresponse type="false">
<radio value=false> Guy Albertelli </radio>
</multiplechoiceresponse>
<multiplechoiceresponse type="false">
<radio value=false> Computers </radio>
</multiplechoiceresponse>
<comment>
type true gives a condition similar to
"1==$whichtrue"
</comment>
<multiplechoiceresponse type="true">
<radio value=true condition="1==$whichtrue">Oranges</radio>
</multiplechoiceresponse>
<multiplechoiceresponse type="true">
<radio value=true condition="2==$whichtrue">Tomatoes</radio>
</multiplechoiceresponse>
</randomlist>
</problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>