ldg1976 Posted January 30, 2008 Share Posted January 30, 2008 Hi - I have a number of check boxes that displays the data from the database ok, but when I check the boxes, the values are not displayed.I'm not sure if I need a case statement, or how to loop through the results within my script below - any help will be a great help! <% Do While Not rsSubCat.EOF %> <li><input name="subcat" type="checkbox" value="<%=rsSubCat.fields.item("subcat_id").value%>"> <%=rsSubCat.fields.item("subcat_name").value%></li> <% rsSubCat.MoveNext Loop %> Thanks Link to comment Share on other sites More sharing options...
justsomeguy Posted January 30, 2008 Share Posted January 30, 2008 What do you mean by this: when I check the boxes, the values are not displayedCheckbox values are never displayed, the user doesn't see them. If you want to see if the checkboxes have the right values then view the generated HTML source code and look at the checkbox tags. Link to comment Share on other sites More sharing options...
ldg1976 Posted January 31, 2008 Author Share Posted January 31, 2008 Thanks for your reply - what I was trying (not very well!!) to explain is that when the box is checked the value from the database was not being displayed - but I've just cracked it!! Thanks anyway! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.