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