just found the answer

multiple=(1,x)

anyway would be good if the notnull param works
 


Em domingo, 2 de março de 2014 16h34min35s UTC-3, André Kablu escreveu:
>
> I am using version 2.9.1 beta
>
> When creating a db, if I use this:
>
>  Field('product_ids',   'list:reference product')
>
> Does not force user to fill the field (not null).
>
> Even if I put  notnull=True, the user can bypass the field and left it 
> blank.
>
>
> Any ideas?
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to