On Monday, November 21, 2011 10:38:27 AM UTC-5, thodoris wrote:
>
> Thanx for the help guys, what i did finally is
>
> db.videos.table.requires = IS_EMPTY_OR
> (IS_IN_DB(db(db.table.author_id==auth.user_id), db.table.id, '%
> (title)s'))
>
> What about displaying a BIG dropdown list of "tables" en
Thanx for the help guys, what i did finally is
db.videos.table.requires = IS_EMPTY_OR
(IS_IN_DB(db(db.table.author_id==auth.user_id), db.table.id, '%
(title)s'))
What about displaying a BIG dropdown list of "tables" entries? Any
help here ???
On Nov 21, 4:09 pm, Anthony wrote:
> > But, accordi
>
> db.videos.table.requires = IS_IN_DB(db(db.table.author_id==auth.user.id),
> db.table.id, '%(title)s')
>
Maybe db(db.table.author_id == (auth.user and auth.user.id))
That will return no records when there is no auth.user.
Anthony
3 matches
Mail list logo