Re: [web2py] Re: is bug? sqlform.factory

2013-01-21 Thread Alan Etkin

>
> But I agree this is odd.
>

My bad, I thought the two args were mandatory

(sorry Bruno for re-posting, I sent a reply to author by mistake)

-- 





Re: [web2py] Re: is bug? sqlform.factory

2013-01-21 Thread Bruno Rocha
I think the "max" is the first because you can ommit the second.

IS_LENGTH(10) will allow max 10. No need to inform the second.

But I agree this is odd.

--