for SQLFORM and CRUD, if the field is of type list:reference <type>, a
default multiselect widget is displayed. You can use your own custom
constraint with IS_IN_DB(<args>). For other type of forms you might
want to use the helper classes for build them

mycustommultiselect = SELECT(*[OPTION(option[0], _value=option[1]) for
option in tuple_sequence], _name="mycustommultiselect")

where tuple_sequence is a list of (name, value) tuples

On 18 mar, 09:21, Hassan Alnatour <[email protected]> wrote:
> Dear ALL,
>
> I want To create a multi-Select Field  , how can i do that ??

Reply via email to