The following view used to generate a multi-select box instead of a
dropdown, and was working in the previous version I was using (1.62.3)
but not on versions I upgraded to: 1.64.2 or 1.64.3.
msg_form=form_factory(
SQLField('Tag', default = request.vars.Tag, requires=IS_IN_DB
(db,'labels.id','%(name)s', multiple=True)),
SQLField('Message', 'text', default= request.vars.Message,
required=True, requires=IS_NOT_EMPTY(error_message='Message cannot be
empty.')),
SQLField('Individuals', default=request.vars.Individuals,
requires=IS_IN_DB(db,'contacts.number','%(name)s', multiple=True)),
SQLField('Groups', default=request.vars.Groups, requires=IS_IN_DB
(db,'groupies.id', '%(name)s', multiple=True))
)
On Jun 23, 1:17 pm, mdipierro <[email protected]> wrote:
> works for me. Can you post an example, what you expect and what you
> get?
>
> Massimo
>
> On Jun 22, 10:27 pm, Nik <[email protected]> wrote:
>
> > Multiple select not working. Being redendered as drop-down boxes.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---