Registration form got a bug after update

  • Posts: 73
  • Thank you received: 0
  • Hikashop Essential
12 years 11 months ago #15451

Hello,

I updatet Hikashop from 1.4.5 to 1.4.9.

Now I have a strange problem. When I want to register, after filling all required fields, and press the button "register" then I got the message "please enter a valid phone number". But I didn't enter anything in the phone number field and I checked the system and it is not a required field. So what goes wrong here?

Regards, Benny.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 11 months ago #15466

Indeed, the field is checked regardless of the required status.
Please edit the file media/com_hikashop/js/hikashop.js and add the line:
if(phoneField.value.length() < 1) return true;
just before the line:
var filter = /[0-9]+/i;
That should fix the problem once you cleared your browser's cache.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum