it will be ignored but the SQLFORM.factory is a form and it must be
able to take arguments of any name to build the <form> attributes.

On Mar 31, 1:50 am, niknok <nikolai...@gmail.com> wrote:
> I have something like:
>
> form=SQLFORM.factory(
>             Field('f1', requires=IS_IN_SET(choices)),
>             Field('f2'), requires=IS_IN_SET(choices))
>
> If the requires parameter is inadvertently placed outside a field
> definition it doesn't generate an error, and the form will "kinda" work
> - but not as expected
>
> "Requires" is not a parameter of sqlform so why doesn't it raise an
> exception?

Reply via email to