[web2py] Re: Multiple validators with IS_IN_DB

2010-03-06 Thread FaustCoder
>From the way it looks to me is that if it requires it to be in the database then of course it can not be empty. You've already solved your own problem? On Mar 6, 11:44 am, raven wrote: > I have a field that references another table > > Field('material', db.material) > > I can get SQLFORM to give

[web2py] Re: Multiple validators with IS_IN_DB

2010-03-06 Thread raven
So it does! That solves my problem. Thank you. On Mar 6, 1:56 pm, "mr.freeze" wrote: > Unless you have a material entry with an empty material.name in your > database, IS_IN_DB should prevent an empty submission. > > On Mar 6, 11:44 am, raven wrote: > > > I have a field that references another

[web2py] Re: Multiple validators with IS_IN_DB

2010-03-06 Thread mr.freeze
Unless you have a material entry with an empty material.name in your database, IS_IN_DB should prevent an empty submission. On Mar 6, 11:44 am, raven wrote: > I have a field that references another table > > Field('material', db.material) > > I can get SQLFORM to give me a drop down list of avail