Re: [web2py] Re: Question about requires=IS_IN_DB(db, 'table.id', '%(nombre)s')

2013-07-13 Thread Eduardo Cruz
Thanks! On 13 July 2013 19:33, Anthony wrote: > requires=IS_EMPTY_OR(IS_IN_DB(db, 'area.id', '%(nombre)s')) > > > On Saturday, July 13, 2013 6:08:26 PM UTC-4, Eduardo Cruz wrote: >> >> is there a way to have something like << requires=IS_IN_DB(db, 'area.id', >> '%(nombre)s') >> but that the fi

[web2py] Re: Question about requires=IS_IN_DB(db, 'table.id', '%(nombre)s')

2013-07-13 Thread Anthony
requires=IS_EMPTY_OR(IS_IN_DB(db, 'area.id', '%(nombre)s')) On Saturday, July 13, 2013 6:08:26 PM UTC-4, Eduardo Cruz wrote: > > is there a way to have something like << requires=IS_IN_DB(db, 'area.id', > '%(nombre)s') >> but that the field is not actually required? I want > SQLFORM to make a