Forum OpenACS Development: Re: Lookup Tables with ad_form

Collapse
Posted by Dave Bauer on
To set the select items in the list you just pass a list of the ids.

You should set it in a -new_request or -edit_request block of ad_form.

ie

-edit_request {
set brands [db_list selected_brands {}]
}