db.mytable.myfield.default = some_value
db.mytable.myfield.writable = False

Leave readable at True in order to show the value but not allow it to be 
edited.

Anthony

On Monday, June 24, 2013 11:00:59 PM UTC-4, Tom Russell wrote:
>
> I have a form and I load a pre existing value that I generate internally 
> before I call the form. What I want to see on the form is the value shown 
> up but just as plain text so the user cannot modify it. If I do 
> readable-False then it just shows None for the value rather than the value. 
>
> How would I make that happen on the form then?
>
> Thanks.
>

-- 

--- 
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.


Reply via email to