db.candidate.for_language.requires = IS_IN_SET(['english', 'french',
'german'], zero=None)
If you notice how web2py will put a blank option in the drop down? the
zero attribute of IS_IN_SET or IS_IN_DB will control the value of that
first dropdown option. To completely rid yourself of the bank opt
Hi all,
Please help me with the syntax of dropdown selection , because i'
ve read a lot of answers and sugestions, AND the book , and i cant
find how to do this simple thing .
db.candidate.for_language.requires=IS_IN_SET(['english','french','german']),default='english'
using crud
2 matches
Mail list logo