requires=IS_IN_DB(db(db.table.field.like ('%.dat')),'field_val','represented_by')
will not work on GAE On Nov 15, 10:28 pm, rondevu <ranjeev...@gmail.com> wrote: > I am trying to create a dropdown using SQLFORM.factory using > requires=IS_IN_DB(db,'field_val','represented_by') validator. I need > to create a dropdown containing selected rows only. > > Is it possible to filter the resulting dropdown list that is returned > to i.e. the column record which only has the *.dat file extension? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---