Wait, you mean you must return a field name option list?

Then you can query the DAL table to return the list of field names:

field_names = db.mytable.fields

On 15 feb, 13:37, Annet <anneve...@googlemail.com> wrote:
> Hi Alan,
>
> Thanks for your reply.
>
> .multiselect() and .autocomplete() are jQuery functions. .autocomplete
> works, the locality_autocomplete() function in the hubaddressbook
> controller provides a list: ["Amsterdam", "Rotterdam", "Utrecht"]
> which is alright for the jQuery UI autocomplete.
>
> .multiselect() needs this:
>
> <select id="word" name="word" multiple="multiple">
> <option value="1">Option 1</option>
> <option value="2">Option 2</option>
> <option value="3">Option 3</option>
> <option value="4">Option 4</option>
> <option value="5">Option 5</option>
> </select
>
> See:http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
>
> ... which is what list:reference provides, however, list:reference
> needs a table and in my case the options are the fields of a multiple
> fields table.
>
> I hope I provided sufficient information to help me solve the problem.
>
> Kind regards,
>
> Annet

Reply via email to