Jump to content

how can add custom field in front-end user login or register.


abdulqayyum
 Share

Recommended Posts

Dear processwire community,
i have a problem in loginRegister module, i could not add custom field in login and register page.
i read from plugin documentation. they are saying.
" By default, the email and password fields are required for both forms. You may want to add more fields. To do this, you’ll need to add fields to your “user” template. You can add fields to your user template in the admin by going to “Setup > Templates > Show system templates > user”.

but i could not find similar scenario like “Setup > Templates > Show system templates > user”
i can see just "Setup > Templates" not seeing "Show system templates > user" in my admin panel.

Please help me in this case that how i can add custom field in these two page.

Regards AbdulQayyum

image.png.71281b4681a279737ffc5b911996edee.pngimage.png.7cb377514d86a8ee8b6f5c5a8ecc980d.png

Link to comment
Share on other sites

  • 6 months later...

Sorry, but I have added several fields to the user template.

I am then using:

$loginRegister = $modules->get('LoginRegister');
echo $loginRegister->execute();

But still I only get the email address and 2 x set password boxes. Have I forgotten something?

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...