Title: Registration Form Setup
Last modified: August 17, 2021

---

# Registration Form Setup

 *  Resolved [adamj16](https://wordpress.org/support/users/adamj16/)
 * (@adamj16)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/registration-form-setup/)
 * Hi – I have a help question that I have not found an answer to in your documentation
   or here…
 * Concerning the username, display name and email fields while setting up the registration
   form – depending on the different field choices made, I assume the following 
   would be the default cases:
 * 1) If I only use the email field, email will be used for login.
 * 2) If I include email and username on the form then either can be used for login.
 * 3) If I include email and display name on the form, the user will use their email
   to log in and their display name will show whenever the user is referenced on
   the website (e.g. as the name on comments) i.e. the email address will not be
   displayed anywhere on the front end (other than on the user account).
 * This would be the expected behaviour, but can you confirm, please? I will appreciate
   your answer – it will save quite some testing time.
 * Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Rahul Gandhi](https://wordpress.org/support/users/wpdev10/)
 * (@wpdev10)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/registration-form-setup/#post-14776786)
 * Hi,
 * Yes, that’s partially correct but when the email is used it will only take the
   part before @ instead of full email as a username.
 * Regards,
    Patrik
 *  Thread Starter [adamj16](https://wordpress.org/support/users/adamj16/)
 * (@adamj16)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/registration-form-setup/#post-14780252)
 * Hi Patrik,
 * Many thanks for your reply. Based on what you said I am not quite sure what would
   happen in my case 2, for completeness – can you update/correct the 3 cases below
   please:
 * 1) email only on the registration form
    – email used for login – email part before
   @ used to display user name on the website
 * 2) email and username on the registration form
    – either email or username used
   for login – [?] used to display user name
 * 3) email and display name on the registration form
    – email used for login – 
   display name used to display user name
 * Thanks again,
    Adam
 *  [Rahul Gandhi](https://wordpress.org/support/users/wpdev10/)
 * (@wpdev10)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/registration-form-setup/#post-14780412)
 * Hi,
 * 1) email part before @ will be used for the username and will be used for login.
   
   2) username will be used for login 3) Display name excluding space will be used
   as username and if not provided then email part before @ will be used for the
   username and will be used for login.
 * In all cases, if there is no Display Name field then it will take a first name
   and last name as a Display name and if no first name and last name are used then
   it will take username as a display name. The display name is optional but the
   username is mandatory so it will be taken as per the case above.
 * Regards,
    Patrik
 *  Thread Starter [adamj16](https://wordpress.org/support/users/adamj16/)
 * (@adamj16)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/registration-form-setup/#post-14781248)
 * Hi Patrik – thanks, that helps.
 * I will let you know if I have any other questions.
 * Best,
    Adam

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Registration Form Setup’ is closed to new replies.

 * ![](https://ps.w.org/userswp/assets/icon-256x256.png?rev=2784318)
 * [UsersWP - Front-end login form, User Registration, User Profile & Members Directory plugin for WP](https://wordpress.org/plugins/userswp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/userswp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/userswp/)
 * [Active Topics](https://wordpress.org/support/plugin/userswp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/userswp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/userswp/reviews/)

## Tags

 * [registration form](https://wordpress.org/support/topic-tag/registration-form/)

 * 4 replies
 * 2 participants
 * Last reply from: [adamj16](https://wordpress.org/support/users/adamj16/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/registration-form-setup/#post-14781248)
 * Status: resolved