> db.book.author.requires=[IS_UPPER(), > IS_NOT_IN_DB(db((db.book.title==request.vars.title)& > (db.book.volume==request.vars.volume)),'book.author')] > The condition "IS_NOT_IN_DB" don't works anymore.
Split across 2 lines: db.book.author.requires=IS_UPPER() db.book.author.requires=IS_NOT_IN_DB(db ((db.book.title==request.vars.title)& (db.book.volume==request.vars.volume)),'book.author') F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

