This code would have never triggered a dropbox. requires = IS_IN_DB(...) # dropbox
requires = [IS_IN_DB(...)...] # no dropbox this has been the rule since web2py 1.0. On Thursday, 1 November 2012 11:46:38 UTC-5, Annet wrote: > > I defined the following validator: > > nodeSocialMedia.nodeID.requires=[IS_IN_DB(db,'socialMedia.id','%(name)s',zero=T('select > > a > value')),IS_NOT_IN_DB(db(db.nodeSocialMedia.nodeID==request.vars.nodeID),'nodeSocialMedia.socialMediaID',error_message=T('combination > > node and social media already in database'))] > > In web2py 2.2.1 'select a value' no longer shows in the drop box, has > anything changed? > > Kind regards, > > Annet. > --