You can use one or the other solution.

The preferred solution is writable=False and no need to set the SQLFORM
(...,fields=[]).

On Sep 1, 7:27 pm, Bottiger <[email protected]> wrote:
> I have a field called "author" which I want set to "auth.user.id".
> Users should not be able to edit this field.
>
> If I have an SQLFORM, is it sufficient to simply omit this field in
> the "fields" argument? Or do I also need to specify "writable = False"
> for the field?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to