<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to create five list to collect student scores. As you can see I am using simple html to create them.</DIV>
<DIV>&nbsp;</DIV>
<DIV>1) <BR>&nbsp;&nbsp;&nbsp; &lt;SELECT NAME="student_score1_temp"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=""&gt;&lt;/option&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="0"&gt;0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="2"&gt;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="3"&gt;2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="3"&gt;3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="4"&gt;4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="5"&gt;5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="6"&gt;6<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/OPTION&gt;<BR>&nbsp;&lt;/SELECT&gt;<BR>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; &lt;SELECT NAME="student_score2_temp"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=""&gt;&lt;/option&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="0"&gt;0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="2"&gt;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTIO
N VALUE="3"&gt;2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="3"&gt;3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="4"&gt;4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="5"&gt;5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="6"&gt;6<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/OPTION&gt;<BR>&nbsp;&lt;/SELECT&gt;<BR>.<BR>.</DIV>
<DIV>5) <BR>&nbsp;&nbsp; &lt;SELECT NAME="student_score5_temp"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=""&gt;&lt;/option&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="0"&gt;0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="2"&gt;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="3"&gt;2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="3"&gt;3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="4"&gt;4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="5"&gt;5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="6"&gt;6<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/OPTION&gt;<BR>&nbsp;&lt;/SELECT&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I use the the following&nbsp; dtml commands to populate the db. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-call "REQUEST.set('counter', REQUEST.SESSION['counter'])"&gt;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-call "REQUEST.set('loop_counter_temp', '0')"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-call "string_to_int(loop_counter_temp ,REQUEST)"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-call "REQUEST.set('loop_counter', y)"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-call "REQUEST.set('loop_counter', 1)"&gt;</DIV>
<DIV>&nbsp;&lt;dtml-in expr="_.range(counter)"&gt;<BR>&nbsp;&nbsp;&lt;dtml-call "REQUEST.set('student_score1', student_score1_temp[loop_counter])"&gt;<BR>&nbsp;&nbsp;&lt;dtml-call "REQUEST.set('student_score2', student_score2_temp[loop_counter])"&gt;<BR>&nbsp;&nbsp;&lt;dtml-call "REQUEST.set('student_score3', student_score3_temp[loop_counter])"&gt;<BR>&nbsp;&nbsp;&lt;dtml-call "REQUEST.set('student_score4', student_score4_temp[loop_counter])"&gt;<BR>&nbsp;&nbsp;&lt;dtml-call "REQUEST.set('student_score5', student_score5_temp[loop_counter])"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dtml-in&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-call expr="create_holistic_score_record(REQUEST)"&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>But these are the results:</DIV>
<DIV>&nbsp;</DIV>
<DIV>REQUEST<BR>form<BR>student_score1_temp ['2', '2', '2', '2', '2', '2', '2', '2'] <BR>Submit 'Submit' <BR>student_score2_temp ['3', '3', '3', '3', '3', '3', '3', '3'] <BR>student_score3_temp ['3', '3', '3', '3', '3', '3', '3', '3'] <BR>student_score4_temp ['4', '4', '4', '4', '4', '4', '4', '4'] <BR>student_score5_temp ['5', '5', '5', '5', '5', '5', '5', '5'] </DIV>
<DIV>&nbsp;</DIV>
<DIV>Any ideas where I am going wrong. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Larry McDonnell</DIV>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>