db.table.field.writable=False
db.table.field.readable=False

or

db.table.field.writable=False
#db.table.field.readable=False

makes the field readonly.

On May 23, 8:02 am, Elcimar <elci...@gmail.com> wrote:
> Sorry my laziness on searching a little more into this forum/
> documentation/web.
>
> I think I understand the way web2py creates forms from model's tables.
> But I didn't figure out yet how to show only a few fields from a
> table... Or mix fields from various tables in only one form. Any
> advice?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to