and.... what do you see instead ? :D
On Thursday, October 8, 2015 at 3:27:42 AM UTC+2, DJ wrote:
>
> Hi,
>
> I'm wondering if there's a problem with my multi-select syntax. I'm not
> able to see the drop down options when I try this on the latest web2py
> (2.12.13). See code example below:
>
> def multi():
> """ multi Module """
>
> weekdays =
> ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]
>
> form = SQLFORM.factory(Field("days", type='list:string',
> label="Weekday", requires=IS_IN_SET(weekdays, multiple=True),
> widget=SQLFORM.widgets.multiple.widget))
>
> return dict(form=form)
>
>
> - Sebastian
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.