Forum OpenACS Q&A: Re: Newbie Question - AdForm - Pulling from DB to Create a List

Yes, what I mean is having 2 checkboxes (not radio buttons) beside each database item.  A user would be able to select no options, one of the options, or both of the options.

I am already using the db_list_lists construct as follows:

set programs [db_list_of_lists get_programs "SELECT * FROM programs"]

In the code, I have:

{programs: test(checkbox)
  {label "Whatever"}
  {options {$program_groups} {value $prog_name}}
}

This code snippet works for 1 checkbox, but I want to add another checkbox beside the other one.