Hello everybody, I have a table like this
db.define_table('Report', Field('person', 'reference Person'), Field('year', 'integer'), Field('letter', 'string'), ) and I use SQLFORM to create a form with that table form=SQLFORM(db.Report) I want to know if instead a 'year' field where I have to write the year, I can fill a select with years from 1989 to 2017 so the user can pick one from that list. I don't know how to do that because I'm using a sqlform. Any ideas would be appreciate. Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.