Hi Denes, I have another validator about which I am not sure ...
db.adres.plaats.requires=[IS_IN_DB(db,db.plaats.plaats,'%(plaats)s')] db.adres.plaats.widget=lambda self,value:INPUT (_type='text',_id='place',_class='ac_input',_name='plaats',value=str (value),requires=self.requires) The auto-complete doesn't prevent the user from entering a plaats that is not in the database, therefore, I added the IS_IN_DB(...) validator in a list. However, I am not sure whether this is the right way to deal with this issue. Kind regards, Annet --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---