You are right. The current documentation refers to the features that existed on August 2009. Features added after that are not yet documented. We are working on it. If you want to submit a patch from the docstring I will be happy to take it.
I also agree that zero!=None should be default. I can change it. Anybody against? Massimo On Jan 2, 4:28 pm, "KONTRA, Gergely" <pihent...@gmail.com> wrote: > > Please never assume that something that is not done by default cannot > > be done. > > > db.whatever.partner.requires.zero="Please Select One" > > Again, where can I find info about the zero argument? > > It is mentioned > athttp://www.web2py.com/examples/static/epydoc/web2py.gluon.validators.... > > __init__(self, dbset, field, label=None, error_message='value not in > database', orderby=None, cache=None, multiple=False, zero=None) > and nothing about the arguments :( > > but searching for requires zero on the site cannot give me extra info. > see:http://www.google.hu/search?q=%2Brequires+%2Bzero+site%3Aweb2py.com > > IMHO: Something, that is not documented, does not exist. > > Gergo -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.