I'm having a problem getting ad_form to highlight previously chosen values in a multiselect box. The code for the box looks like:
{brands:text(multiselect),multiple,optional
{values $brands}
{label "Brands"}
{options {{"--- TBD ---" ""} [db_list_of_lists get_brand "select name, ibr_brand_id from ibr_brand order by name"]}}
}
outside of the ad_form I have:
set brands [db_list_of_lists project_brands_query {}]
The query is returning the brands that should be selected in the same form as the get_brand query.
So what is the totally obvious thing that I am overlooking?