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

#   Proper keyboard layouts for fields on mobile

##

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

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 1 month ago [\#170864](#170864) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  *[Proper keyboard layouts for fields on mobile](/forum/2-general-talk-about-hikashop/870995-proper-keyboard-layouts-for-fields-on-mobile#170864 "Often on the mobile when filling out a telephone field, or postcode, or credit card numbers, the keyboard layout will change to having only numbers, or numbers and dashes - whatever is actually...")* was created by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")*

Often on the mobile when filling out a telephone field, or postcode, or credit card numbers, the keyboard layout will change to having only numbers, or numbers and dashes - whatever is actually required. An email field would have the @ symbol prominent.

It would be great to have this feature on all Hikashop fields. I tried to implement it using some code like pattern="[0-9]*" in the input, but it didn't work. Anyway, this should be a core feature.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3MDk5NS1wcm9wZXIta2V5Ym9hcmQtbGF5b3V0cy1mb3ItZmllbGRzLW9uLW1vYmlsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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 1 month ago [\#170893](#170893) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Proper keyboard layouts for fields on mobile](/forum/2-general-talk-about-hikashop/870995-proper-keyboard-layouts-for-fields-on-mobile#170893 "Often on the mobile when filling out a telephone field, or postcode, or credit card numbers, the keyboard layout will change to having only numbers, or numbers and dashes - whatever is actually...")*

Hi,

This could be a good thing indeed, we have to see how to improve this part for mobile devices and see if a good compatibility can be found. Because it don't seem to be working the same way for iOS or Android...

For the moment I suggest you to try this kind of things for numbers: Code:

&lt;input type="number" step="0.01"&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3MDk5NS1wcm9wZXIta2V5Ym9hcmQtbGF5b3V0cy1mb3ItZmllbGRzLW9uLW1vYmlsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 1 month ago [\#171112](#171112) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  Replied by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")* on topic *[Proper keyboard layouts for fields on mobile](/forum/2-general-talk-about-hikashop/870995-proper-keyboard-layouts-for-fields-on-mobile#171112 "Often on the mobile when filling out a telephone field, or postcode, or credit card numbers, the keyboard layout will change to having only numbers, or numbers and dashes - whatever is actually...")*

Okay thanks for this. I added the above 'pattern' attribute via ReReplacer but it's a bit hard changing the type="text" to "number". Can I change these values somewhere in the back-end of hikashop? I can't find the appropriate 'view'

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3MDk5NS1wcm9wZXIta2V5Ym9hcmQtbGF5b3V0cy1mb3ItZmllbGRzLW9uLW1vYmlsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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 1 month ago [\#171128](#171128) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Proper keyboard layouts for fields on mobile](/forum/2-general-talk-about-hikashop/870995-proper-keyboard-layouts-for-fields-on-mobile#171128 "Often on the mobile when filling out a telephone field, or postcode, or credit card numbers, the keyboard layout will change to having only numbers, or numbers and dashes - whatever is actually...")*

Hi,

That's because it's not managed by a view, but it's in the class "field" in "administrator/components/com_hikashop/classes/field.php".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3MDk5NS1wcm9wZXIta2V5Ym9hcmQtbGF5b3V0cy1mb3ItZmllbGRzLW9uLW1vYmlsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.078 seconds

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