Thank you very much for your reply Alan. I had to add db.auth_user.About_me.writable=False and db.auth_user.About_Me.writable=False for it to work.
On Tue, May 15, 2012 at 6:53 AM, Alan Etkin <[email protected]> wrote: > I guess you can disable those fields if the user is not logged in. Perhaps > adding this to the end of the model: > > if not auth.is_logged_in(): > db.auth_user.upload.readable = False > db.auth_user.About_Me.readable = False > > > > On Monday, May 14, 2012 8:18:05 PM UTC-3, dundee wrote: >> >> Hello All, >> I am a newbie to web2py. I have edited the User Profile to add fields like >> this: >> auth=Auth(db) >> auth.settings.extra_fields['auth_user']= >> [Field('Pic','upload'),Field('About_Me','text')] >> >> This if fine for the Profile view. However, I do not want these fields to >> be available in the registration form. How can I hide these fields from the >> registration for but keep them for the profile view? >> >> Thanks very much for your answers. >> > -- Kevin Miller Acting Data Controller Department of Computing UWI, Mona Kingston 7

