Forums / Developer / How to disable form fields on register page?

How to disable form fields on register page?

Author Message

John Moritz

Wednesday 01 July 2009 2:23:56 am

How can i disable form fields of some userattributes like „first name“ or last name“ on the register page and the useredit (self) page?

The user should see the „first name“ and “last name” fields only on useredit page but not on the register page. I also added a field for facebook_connect. This field should never be seen by a user.

Gaetano Giunta

Wednesday 01 July 2009 4:13:57 am

Override the template used by user/register so that it only has visible input fields for the fields you want and hidden ones for the fileds you do not want? nb: not a very secure solution, but it might be combined with a content edit handler to do some verification afterwards...

Principal Consultant International Business
Member of the Community Project Board