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('project', db.project),
    Field('name'),
    format='%(name)s'
)



1. With the above models how can I make the project field in the entry table 
be optional (not required in entry form)?
2. Is there a recommended way to display only the projects for the selected 
client in the entry form?

Thank you,
rif

Reply via email to