I want to collect user personal information like first name, last name, and home address in in user registration, and I also want user to make the profile pubic or private.
I am using Drupal 7.
I want to collect user personal information like first name, last name, and home address in in user registration, and I also want user to make the profile pubic or private.
I am using Drupal 7.
Go to Config > People > Account Settings > Manage Fields
Then, you can add fields to user profiles just as you would add fields to any content type. When you add fields here, there is a checkbox to "Display on user registration form" if you want the field to be part of the user's registration process.
Hope this helps someone.
You can add fields by going to /admin/config/people/accounts/fields
then set the privacy settings of those fields with an access control module like Field Permissions
In order to add fields to "Create Account" registration form, you can do this in following way:
Go to "--/admin/config/people/accounts/fields" then while "Add new field". While adding new field, under label you could see "Display on user registration form". Check this box and the corresponding field will be shown on registration form.
From Drupal 8 you can easily drag and drop that field within the /user/register form. Up , down, visible, invisible. Super cool!
Link: "/admin/config/people/accounts/form-display/register"