[LON-CAPA-users] creating problems: Filling in a table
Guy Albertelli II
lon-capa-users@mail.lon-capa.org
Thu, 8 Aug 2002 15:44:54 -0400 (EDT)
Hi Lars,
> How do I create a problem where the students needs to fill in a table of
> answers, with only one submit button?
Very simple problem:
<problem>
<startouttext />
The correct answer is 1 and 2 and 3 and 4 <br />
<endouttext />
<numericalresponse answer="1">
<textline />
</numericalresponse>
<numericalresponse answer="2">
<textline />
</numericalresponse>
<numericalresponse answer="3">
<textline />
</numericalresponse>
<numericalresponse answer="4">
<textline />
</numericalresponse>
</problem>
If you want thing to show in a table:
<problem>
<startouttext />
The correct answer is 1 and 2 and 3 and 4<br />
<table> <tr> <td>
<endouttext />
<numericalresponse answer="1">
<textline size="3" />
</numericalresponse>
<startouttext />
</td> <td>
<endouttext />
<numericalresponse answer="2">
<textline size="3" />
</numericalresponse>
<startouttext />
</td></tr> <tr> <td>
<endouttext />
<numericalresponse answer="3">
<textline size="3" />
</numericalresponse>
<startouttext />
</td> <td>
<endouttext />
<numericalresponse answer="4">
<textline size="3" />
</numericalresponse>
<startouttext />
</td></tr></table>
<endouttext />
</problem>
--
guy@albertelli.com BM: n^20 t20 z20 qS
Guy Albertelli -7-8-4- O-
My intuition nearly makes up for my lack of good judgement.