// allresponses1 - a set of checkboxes, multiple choice

// load this if given..
#cgivar pickedlist

#set TITLE = "allresponses1"
#include top

<center>

<br>
<br>
<table cellpadding=2><tr bgcolor=FFFFFF><td>
<form action="@CGIPROG" method=GET>
#formtarget allresponses1_capture

// generate list
#for code in a,b,c,d,e,f,g
  <input type=checkbox name=box_@code
  #set boxcode = "box_" @code
  #if @boxcode in @pickedlist
    checked
  #endif
  >   Choice @code
  <br>
#endloop

<br>
<input type=submit value="Go">

</td></tr>
</table>
