*

Ghiz

  • ***
  • 31 posts
zip/postal code form
« on: February 26, 2018, 08:07:14 PM »
Hi
The form for postal code on publish on phone edition only does not accept value with letters, only numbers can be select from the keyboard on phone. in Canada we use both letters and numbers, so i guess the field mandatory has to be modified.
Regards
Ghiz.

*

MB Themes

Re: zip/postal code form
« Reply #1 on: February 27, 2018, 08:40:31 AM »
@Ghiz
It's text type so both types should work:
Code: [Select]
<input id="zip" type="text" name="zip" value="" class="valid">
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ghiz

  • ***
  • 31 posts
Re: zip/postal code form
« Reply #2 on: February 27, 2018, 01:40:45 PM »
I agree but each phone I tried here has the same keyboard number field impossible to set letters in postal code I sent a pic from a mobile view .
Regards.

*

MB Themes

Re: zip/postal code form
« Reply #3 on: February 27, 2018, 02:58:12 PM »
@Ghiz
Your phone may recognize it based on name.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ghiz

  • ***
  • 31 posts
Re: zip/postal code form
« Reply #4 on: February 27, 2018, 03:29:43 PM »
What should I do to fix ?

*

MB Themes

Re: zip/postal code form
« Reply #5 on: February 27, 2018, 03:35:41 PM »
@Ghiz
No idea, it's obviously not theme related issue. Field is type text.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ghiz

  • ***
  • 31 posts
Re: zip/postal code form
« Reply #6 on: March 04, 2018, 04:15:08 AM »
Hope you had the chance to try it on your own phone, wouldn't feel so alone...

*

MB Themes

Re: zip/postal code form
« Reply #7 on: March 05, 2018, 08:41:18 AM »
@Ghiz
Yes I was testing it.
Go to file:
oc-content/themes/stela/js/global.js

And remove line:
Code: [Select]
$('input#zip, input#price').prop('type', 'number');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ghiz

  • ***
  • 31 posts
Re: zip/postal code form
« Reply #8 on: March 11, 2018, 01:03:13 PM »
Tnx
I did removed this input#zip, works fine.
Regards
Ghiz. :)