Here's a snippet of code from a project I've done with checkboxes that
hopefully might give you some ideas:
<% ' *** Operation %>
<tr>
<td align="right">A surgical procedure or fracture?</td>
<td valign="bottom">
No<input type="radio" name="Operation"
<%= jpsvbBoolToChecked(Operation = False) %> value="No"
onchange="jpsjsSetUnsaved(true);">
Yes<input type="radio" name="Operation" <%=
jpsvbBoolToChecked(Operation = True) %> value="Yes"
onchange="jpsjsSetUnsaved(true);">
</td>
</tr>
Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
<<
I have been asked to do a project which deal with user entering data but
most of the answers are to be added to the database. The forms will be
editable as well so all the checkbox values will have to be retrived and
displayed.
It all seems to be a hell lot of if conditions to me. Does anyone know
of a
good way to deal with loads of checkboxes.
*** Sent via Developersdex
http://www.developersdex.com ***