[Skip to main content](#vessel-content)

#   Registration/Login form customisation

##

- **[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")**
- [![lrazov's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2532-lrazov "View lrazov's Profile") Topic Author
- [ Offline](/forum/user/2532-lrazov)

Less More

- Posts: 112
- Thank you received: 0
-
-

15 years 5 months ago [\#17192](#17192) by [lrazov](/forum/user/2532-lrazov "View lrazov's Profile")  *[Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#17192 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")* was created by *[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")*

Hi Support!

I need to customize registration and login forms as follows:

On Login form: Email address &amp; Password fields;
On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.

That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?

What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?

I am using hikashop 1.5 free edition.

Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

15 years 5 months ago [\#17202](#17202) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#17202 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

Hi,

I don't see a email field on your registration form. You probably forgot it.

In the commercial edition, what you can do is to change the "registration" option to "simplified registration". That will remove the password fields and the username field from the registration form so that you only have left the email field (and the address fields).
Then, when the system registers the user, it will generate a random password automatically for the user and use his email as username and send him an email with that information.
That way, it's less hassle for the user.

Would that be ok ?

If you really want the password fields and the email field but not the username field, you would have to change the code of the file registration of the view user in order to hide the username field and automatically populate it with the email entered by the user when the user finishes to enter his email.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")**
- [![lrazov's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2532-lrazov "View lrazov's Profile") Topic Author
- [ Offline](/forum/user/2532-lrazov)

Less More

- Posts: 112
- Thank you received: 0
-
-

15 years 5 months ago -  15 years 5 months ago [\#17217](#17217) by [lrazov](/forum/user/2532-lrazov "View lrazov's Profile")  Replied by *[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#17217 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

Thank you for super quick reply!

Oh, I just missed comma between Email and Password ![:-)](/media/kunena/emoticons/9.png ":-)")

Unfortunately, the first option is not suitable, as I'd like users to select password themselves.

Could you give me a bit more details as to where in the registration file I would handle population of username with the email entered by the user? As far as I can see the registration file is just a layout of the registration form. I think I need the code which saves the data where I would manipulate the two fields?

Because I already have an account, I also noticed that in the registration form the email field gets pre-populated with the username, but the actual username field is blank :blink: Any suggestions?

Last edit: 15 years 5 months ago by [lrazov](/forum/user/2532-lrazov "View lrazov's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

15 years 5 months ago [\#17220](#17220) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#17220 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

You can just replace the line:
&lt;input type="text" id="register_email" name="data[register]

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")**
- [![lrazov's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2532-lrazov "View lrazov's Profile") Topic Author
- [ Offline](/forum/user/2532-lrazov)

Less More

- Posts: 112
- Thank you received: 0
-
-

15 years 5 months ago [\#17221](#17221) by [lrazov](/forum/user/2532-lrazov "View lrazov's Profile")  Replied by *[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#17221 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

Excellent! Thanks a lot!

I will try that out and report back.

Could you also have a look as to why in the registration form the email field gets pre-populated with the username, but the actual username field is blank. Any suggestions?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

15 years 5 months ago [\#17223](#17223) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#17223 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

That's your browser which prefills the input field. Nothing we can do on our end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")**
- [![lrazov's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2532-lrazov "View lrazov's Profile") Topic Author
- [ Offline](/forum/user/2532-lrazov)

Less More

- Posts: 112
- Thank you received: 0
-
-

15 years 5 months ago [\#17237](#17237) by [lrazov](/forum/user/2532-lrazov "View lrazov's Profile")  Replied by *[lrazov](/forum/user/2532-lrazov "View lrazov's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#17237 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

The code you provided worked like charm!

Re browser re-filling the input field, I guess so, however I wonder why it refills the email field, not the username one? I suppose it's not important for me anymore since I've hidden the username field anyway ![:)](/media/kunena/emoticons/8.png ":)")

Thank you for the wonderful support! ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tuhinboss](/forum/user/29044-tuhinboss "View tuhinboss's Profile")**
- [![tuhinboss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29044-tuhinboss "View tuhinboss's Profile")
- [ Offline](/forum/user/29044-tuhinboss)

Less More

- Posts: 25
- Thank you received: 0
-
-

12 years 11 months ago [\#130319](#130319) by [tuhinboss](/forum/user/29044-tuhinboss "View tuhinboss's Profile")  Replied by *[tuhinboss](/forum/user/29044-tuhinboss "View tuhinboss's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#130319 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

hi nicholas
this post is about 2 years ago. i tried this code but nothing seems work . will u please help me writing the code for latest hikashop. thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 11 months ago [\#131024](#131024) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#131024 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

Hi,

Just for clarification, what do you need to do ?
If you want to manage the custom fields, you can enable/disable them in Display &gt; Custom fields menu of HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tuhinboss](/forum/user/29044-tuhinboss "View tuhinboss's Profile")**
- [![tuhinboss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29044-tuhinboss "View tuhinboss's Profile")
- [ Offline](/forum/user/29044-tuhinboss)

Less More

- Posts: 25
- Thank you received: 0
-
-

12 years 11 months ago [\#131069](#131069) by [tuhinboss](/forum/user/29044-tuhinboss "View tuhinboss's Profile")  Replied by *[tuhinboss](/forum/user/29044-tuhinboss "View tuhinboss's Profile")* on topic *[Re: Registration/Login form customisation](/forum/4-how-to/17192-registration-login-form-customisation#131069 "Hi Support!  I need to customize registration and login forms as follows:  On Login form: Email address &amp; Password fields; On REgistration form: Title, First name, Last name, Post code, Email Password, Confirm Password fields.  That's all! I don't need any other fields. I know how to turn on and off the hikashop address fields. But how can I change the login form to use email field instead of username field?  What configuration do I need to do for this? Is this part of Joomla config? Or do I need to buy hikashop commercial version? If hikashop commercial version will it allow me to customize the Login form fields?  I am using hikashop 1.5 free edition.  Thank you!")*

oh this feature is for business edition .. i just misunderstood

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3MTkyLXJlZ2lzdHJhdGlvbi1sb2dpbi1mb3JtLWN1c3RvbWlzYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.137 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
