One simple option is to set the "readable" and "writable" attributes of the
fields you don't want to display to False. If you never want to show these
fields on any form (even the profile form), you could set the attributes in
the model file where you define Auth. If you only want to hide them for the
registration form, you could set the attributes conditionally in the user
function:
def user():
if request.args(0) == 'register':
[set attributes here]
Anthony
On Wednesday, May 2, 2012 10:15:48 AM UTC-4, Roma Asnani wrote:
>
> Hello,
>
> I am trying to customize the view of register form. Register form by
> default has 5 fields. But problem is as we have register
> custom.widget.fieldname and these fields are around of 7 like first_name,
> last_name, email, password, registration_key, registration_id,
> reset_password_key. But in custom field i do use only first 4 fields
> because remaining fields are automatically generated. That is why it is not
> working. Can any one help.
>