Thank you DenesL,
I did't know about IS_EMPTY_OR validator and it is what I was looking for.
The answer to my second question is only working for the first time the page
is shown. It will not allow to change the client.
I guess the only way to have dynamic combo's is via ajax (when user selects
It is a string "%(name)s" or a function (lambda row: row.name) that
will e used to represent records in dropdowns and tables
On Mar 11, 1:31 pm, pbreit wrote:
> Could someone help me understand what "format" does? I've read the book
> several times about it and still don't understand what it does
Could someone help me understand what "format" does? I've read the book
several times about it and still don't understand what it does.
On Mar 11, 6:33 am, rif wrote:
> db.define_table('client',
> Field('name'),
> format='%(name)s'
> )
>
> db.define_table('project',
> Field('client', db.client),
> Field('name'),
> format='%(name)s'
> )
>
> db.define_table('entry',
> Field('client', db.client),
> Field
4 matches
Mail list logo