You can overwrite

db.table.field.writable=True or False

just before you call SQLFROM

On Mar 15, 6:05 am, phneoix <neo.stea...@gmail.com> wrote:
> i have set permissions for individual fields and implemented them
> successfully using
> SQLFORM(db.sometable, writable=True)
>
> but if i want to create a custom form it does not work.
> eg: SQLFORM(db.sometable,fields=
> ['somef1','somef2','somef3'],writable=True) #somef3 is denied access
>
> is there a way out.
>
> and i could not find the syntax for SQLTABLE to do the same job of
> hiding fields.
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
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