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

#   Increasing character limit on a form field

##

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 6 months ago [\#15261](#15261) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  *[Increasing character limit on a form field](/forum/4-how-to/15261-increasing-character-limit-on-a-form-field#15261 "Hi  I know on an HTML form field its maxlength=&quot;100&quot; etc, but on   212.113.133.235/~englishr/index.php?opti...m&#95;user&amp;view=register  I have tried to increase the username to compensate for email addresses, but no amount of maxlength seems to be working. I have looked in Views &gt; registration and the actual PHP of the form, but nothing is making any difference.  Please could you advise where I need to update this. I am hitting a wall (not literally!).  TIA")* was created by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")*

Hi

I know on an HTML form field its maxlength="100" etc, but on [ 212.113.133.235/~englishr/index.php?opti...m\_user&amp;view=register](http://212.113.133.235/~englishr/index.php?option=com_user&view=register) I have tried to increase the username to compensate for email addresses, but no amount of maxlength seems to be working. I have looked in Views &gt; registration and the actual PHP of the form, but nothing is making any difference.

Please could you advise where I need to update this. I am hitting a wall (not literally!).

TIA

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MjYxLWluY3JlYXNpbmctY2hhcmFjdGVyLWxpbWl0LW9uLWEtZm9ybS1maWVsZD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

15 years 6 months ago [\#15262](#15262) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Increasing character limit on a form field](/forum/4-how-to/15261-increasing-character-limit-on-a-form-field#15262 "Hi  I know on an HTML form field its maxlength=&quot;100&quot; etc, but on   212.113.133.235/~englishr/index.php?opti...m&#95;user&amp;view=register  I have tried to increase the username to compensate for email addresses, but no amount of maxlength seems to be working. I have looked in Views &gt; registration and the actual PHP of the form, but nothing is making any difference.  Please could you advise where I need to update this. I am hitting a wall (not literally!).  TIA")*

Hi,

That page is not in HikaShop but in Joomla. You can't edit it via the Display-&gt;Views menu of HikaShop so that's normal you don't see your changes.
That form is in the file components/com_user/views/register/tmpl/default.php

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 5 months ago [\#17607](#17607) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Increasing character limit on a form field](/forum/4-how-to/15261-increasing-character-limit-on-a-form-field#17607 "Hi  I know on an HTML form field its maxlength=&quot;100&quot; etc, but on   212.113.133.235/~englishr/index.php?opti...m&#95;user&amp;view=register  I have tried to increase the username to compensate for email addresses, but no amount of maxlength seems to be working. I have looked in Views &gt; registration and the actual PHP of the form, but nothing is making any difference.  Please could you advise where I need to update this. I am hitting a wall (not literally!).  TIA")*

Hi Nicolas

Sorry to resurrect this email, but using [ www.englishrosebooks.co.uk/index.php/com...t/user/register.html](http://www.englishrosebooks.co.uk/index.php/component/user/register.html) as an example, is there a way we can change the registration form so email is used rather than username?

Please advise.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MjYxLWluY3JlYXNpbmctY2hhcmFjdGVyLWxpbWl0LW9uLWEtZm9ybS1maWVsZD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

15 years 5 months ago [\#17610](#17610) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Increasing character limit on a form field](/forum/4-how-to/15261-increasing-character-limit-on-a-form-field#17610 "Hi  I know on an HTML form field its maxlength=&quot;100&quot; etc, but on   212.113.133.235/~englishr/index.php?opti...m&#95;user&amp;view=register  I have tried to increase the username to compensate for email addresses, but no amount of maxlength seems to be working. I have looked in Views &gt; registration and the actual PHP of the form, but nothing is making any difference.  Please could you advise where I need to update this. I am hitting a wall (not literally!).  TIA")*

That is not a hikashop page but the joomla registration page. You would have to edit the view and add some javascript in order to remove the username field and set it as a hidden input and set its value to the email input when the form is submitted.

In HikaShop, if you change the "registration" option of the configuration to simplified registration, the username field will be removed automatically and the email will be used as username.

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 5 months ago [\#17614](#17614) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Increasing character limit on a form field](/forum/4-how-to/15261-increasing-character-limit-on-a-form-field#17614 "Hi  I know on an HTML form field its maxlength=&quot;100&quot; etc, but on   212.113.133.235/~englishr/index.php?opti...m&#95;user&amp;view=register  I have tried to increase the username to compensate for email addresses, but no amount of maxlength seems to be working. I have looked in Views &gt; registration and the actual PHP of the form, but nothing is making any difference.  Please could you advise where I need to update this. I am hitting a wall (not literally!).  TIA")*

Is this only in commercial versions of HikaShop?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MjYxLWluY3JlYXNpbmctY2hhcmFjdGVyLWxpbWl0LW9uLWEtZm9ybS1maWVsZD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

15 years 5 months ago [\#17616](#17616) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Increasing character limit on a form field](/forum/4-how-to/15261-increasing-character-limit-on-a-form-field#17616 "Hi  I know on an HTML form field its maxlength=&quot;100&quot; etc, but on   212.113.133.235/~englishr/index.php?opti...m&#95;user&amp;view=register  I have tried to increase the username to compensate for email addresses, but no amount of maxlength seems to be working. I have looked in Views &gt; registration and the actual PHP of the form, but nothing is making any difference.  Please could you advise where I need to update this. I am hitting a wall (not literally!).  TIA")*

Indeed. But note that it won't change the joomla user registration screen. It will only affect the hikashop registration screen.

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

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