Thank you very much !

Could I also ask if it is possible to forbid one specific value for a
field ?

BC



On 2 nov, 15:45, Anthony <abasta...@gmail.com> wrote:
> You can try IS_EMPTY_OR(IS_IN_DB(...)) (also works with IS_IN_SET). You
> might also want to specify a 'zero' option.
> Seehttp://web2py.com/book/default/chapter/07#Validators.
>
>
>
>
>
>
>
> On Wednesday, November 2, 2011 10:35:26 AM UTC-4, Bianca Cadaveri wrote:
>
> > Hello,
>
> > I would like my users to be able to choose nothing, if they want to,
> > in a drop-down menu. The drop-down menu is generated using SQLFORM.
> > By default the validator does not accept that my users choose nothing.
> > How to change that ?
>
> > Thank you very much,
> > Bianca

Reply via email to