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.

-- 



Reply via email to