Validating field with regex when editing or creating a new adress in checkout

  • Posts: 33
  • Thank you received: 0
6 years 3 weeks ago #290684

-- HikaShop version -- : 3.4.0 business
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.1.14
-- Browser(s) name and version -- : Firefox 59.0.2 (64 bits)

This message contains confidential information


Hi,
I found out that fields arent checked properly when user edit or create a new adress in the checkout view. An error message does appear if a mandatory field is left empty, but when the regex is not matched something is wrong (you can currently check on my site for the custom "SIRET" field, if you dont enter a 14 digit number, the form cant be validated but no message at all is displayed, and the "telephone number" field seems not to be validated at all, you can enter letters in it).

Those exact same fields works fine on the "create account" page, and error messages are displayed in both case (empty field or invalid field).

what to do about it ?

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
6 years 3 weeks ago #290719

Hi,

Thank you for your feedback. I was able to reproduce the issue.
I've added a patch on our end for that.
Download again the install package on our website via the menu My account>My subscriptions and install it on your website to get the patch for it.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum