thank you so much for your hints niphlod, i've test it and work well :
db.define_table('test',
Field('test'),
Field('test_read'),
Field('test_write'),
format='%(test)s')
# not show in new and edit page
show_test = request.args(-2) == 'new' or request.args(-3) == 'edit'
db.test.test.writable = db.test.test.readable = not show_test
# not show in new page
show_test_read = request.args(-2) == 'new'
db.test.test_read.writable = db.test.test_read.readable = not show_test_read
# not show in edit page
show_test_write = request.args(-3) == 'edit'
db.test.test_write.writable = db.test.test_write.readable = not
show_test_write
--
---
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.