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

#   Where change the max lenght of the username?

##

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

Less More

- Posts: 61
- Thank you received: 1
-
-

14 years 1 month ago [\#67375](#67375) by [Rolandus1](/forum/user/6166-rolandus1 "View Rolandus1's Profile")  *[Where change the max lenght of the username?](/forum/2-general-talk-about-hikashop/67375-where-change-the-max-lenght-of-the-username#67375 "Hi I use HIKA and the component ExtendedReg on my page. User can register on the page and login only with e-mail adress, so e-mail and PW. There is no username.  The login form in the HIKA checkout has now 2 e-mail fields. -&gt; see code below When I look into the HTML code I see, than one of them is (or was) the username, the other is the original e-mail field.  The problem is, than one of the fields has a very short maxlength, that is not enough for e-mails.  How I can resolve it? Can I change the maxlength somewhere or remove the standard e-mail field? Where I can do that? So I have to change some PHP files (overrides)?     E-Mail     &#42;      E-Mail    &quot; value=&quot;&quot; class=&quot;inputbox required validate-email&quot; maxlength=&quot;100&quot; type=&quot;text&quot;&gt; &#42;  ")* was created by *[Rolandus1](/forum/user/6166-rolandus1 "View Rolandus1's Profile")*

Hi
I use HIKA and the component ExtendedReg on my page.
User can register on the page and login only with e-mail adress, so e-mail and PW.
There is no username.

The login form in the HIKA checkout has now 2 e-mail fields. -&gt; see code below
When I look into the HTML code I see, than one of them is (or was) the username, the other is the original e-mail field.

The problem is, than one of the fields has a very short maxlength, that is not enough for e-mails.

How I can resolve it?
Can I change the maxlength somewhere or remove the standard e-mail field?
Where I can do that? So I have to change some PHP files (overrides)?

&lt;tr class="hikashop_registration_username_line"&gt;
&lt;td class="key"&gt;
&lt;label id="usernamemsg" for="register_username"&gt;
E-Mail &lt;/label&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;input id="register_username" name="data[register][username]" value="" class="inputbox required validate-username" maxlength="25" type="text"&gt; *
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="hikashop_registration_email_line"&gt;
&lt;td class="key"&gt;
&lt;label id="emailmsg" for="register_email"&gt;
E-Mail &lt;/label&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;input id="register_email" name="data[register]

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3Mzc1LXdoZXJlLWNoYW5nZS10aGUtbWF4LWxlbmdodC1vZi10aGUtdXNlcm5hbWU/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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 1 month ago [\#67481](#67481) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Where change the max lenght of the username?](/forum/2-general-talk-about-hikashop/67375-where-change-the-max-lenght-of-the-username#67481 "Hi I use HIKA and the component ExtendedReg on my page. User can register on the page and login only with e-mail adress, so e-mail and PW. There is no username.  The login form in the HIKA checkout has now 2 e-mail fields. -&gt; see code below When I look into the HTML code I see, than one of them is (or was) the username, the other is the original e-mail field.  The problem is, than one of the fields has a very short maxlength, that is not enough for e-mails.  How I can resolve it? Can I change the maxlength somewhere or remove the standard e-mail field? Where I can do that? So I have to change some PHP files (overrides)?     E-Mail     &#42;      E-Mail    &quot; value=&quot;&quot; class=&quot;inputbox required validate-email&quot; maxlength=&quot;100&quot; type=&quot;text&quot;&gt; &#42;  ")*

These can be changed in the file "registration" of the view "user" via the menu Display-&gt;Views.

The following user(s) said Thank You: [Rolandus1](/forum/user/6166-rolandus1 "View Rolandus1's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3Mzc1LXdoZXJlLWNoYW5nZS10aGUtbWF4LWxlbmdodC1vZi10aGUtdXNlcm5hbWU/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.058 seconds

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