Not sure I understand...
you can do
def read_sometable(): return dict(form=crud.read(db.sometable,
request.args[0]))
def update_sometable(): return dict(form=crud.update(db.sometable,
request.args[0]))
You can also use turn off individual fields everywhere
def update_sometable_partial():
db.sometable.somefield.writable=False
return dict(form=crud.update(db.sometable, request.args[0]))
On May 18, 11:13 am, Timmie <[email protected]> wrote:
> Hello,
> Is there a example on how to change a form dynamically from
> readonly=True to readyonly=False?
>
> Can this just be done by sending the the appropriate parameters via
> the URL?
>
> Timmie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---