>
> Why I need a combobox with multiple=False?, Well, is for aesthetics.
>
>
although misleading. "select one choice amongst multiple items" is usually:
- a select box --> when items are a lot
- radio buttons --> when items are a few
--
Resources:
- http://web2py.com
- http://web2py.com/book (
(SOLVED)
Anthony:
Thanks for your ideas. Finally I solved this:
Code:
1. form = SQLFORM.factory(
2.Field('numero', requires=IS_NOT_EMPTY()),
3.Field('fecha', 'datetime', requires=IS_NOT_EMPTY()),
4.Field('gasto', requires= IS_IN_SET(gastos_list,
On Thursday, October 30, 2014 3:34:02 PM UTC-4, José Eloy wrote:
>
> Anthony
>
> With options I mean SQLFORM.widgets.options.widget. I checked and
> discovered that using either SQLFORM.widgets.options.widget or
> SQLFORM.widgets.multiple.widget I get an html select element. My question
> is how
Anthony
With options I mean SQLFORM.widgets.options.widget. I checked and
discovered that using either SQLFORM.widgets.options.widget or
SQLFORM.widgets.multiple.widget I get an html select element. My question
is how to create a SELECT (no dropdown) with multiple=False. I want to
select only
On Thursday, October 30, 2014 3:08:13 PM UTC-4, José Eloy wrote:
>
> Thanks Anthony
>
> But if I use options I get a dropdown combo, instead I want a SELECT. Is
> this possible?
>
Not sure what you mean. With "options", you should get a dropdown that
allows you to select a single option. Both "o
Thanks Anthony
But if I use options I get a dropdown combo, instead I want a SELECT. Is
this possible?
Regards
--
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 Issue
You have explicitly specified the "multiple" widget for this field, so the
validator has no effect on the widget. You should instead use the "options"
widget.
Anthony
On Thursday, October 30, 2014 2:41:04 PM UTC-4, José Eloy wrote:
>
> Hi!
>
> I have a SQLFORM.factory that define a SELECT. I wa
7 matches
Mail list logo