Hi ,
I have created a table for user. to update the table i have written
the code
def editprofile():
user = db(db.users.id==session.userid).select()[0]
form = SQLFORM(db.users,user,fields=['firstname','lastname'])
i found id field is showing in the browser though i have selected
['firstname','lastname']. how to avoid this user.id from the form.
output in browser:
Id: 1
First Name: durga
Last Name: prasad
thanks
durga
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---