I want to change the value of "writable" depending on another field,
something like
db.define_table('person',
Field('name'),
Field('test', 'boolean', writable=False),
Field('testenable', 'boolean', default=True),
)
db.person.test.writable = lambda v,r: r.testenable
This does not work because writable must not be callable.
Any ideas?
Maybe something like form[0]... = .... ?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.