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

#   Chromium autocomplete behavior causes Hikashop alerts that confuse users

##

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

Less More

- Posts: 10
- Thank you received: 1
-
-

6 years 2 weeks ago [\#325082](#325082) by [karimhaddad](/forum/user/56695-karimhaddad "View karimhaddad's Profile")  *[Chromium autocomplete behavior causes Hikashop alerts that confuse users](/forum/27-checkout/901046-chromium-autocomplete-behavior-causes-hikashop-alerts-that-confuse-users#325082 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7.4.11 -- Browser(s) name and version -- : Edge 86.0.622.51 -- Error-message(debug-mod must be tuned on) -- : The confirmation email differs from the email your entered. Please enter it again.  Our users are receiving error messages from Hikashop forms as soon as the checkout loads.  When users enter our checkout process they are presented with a Hikashop Guest user form. The first two inputs on this form are &quot;email&quot; and &quot;email confirmation&quot; with the second field having validation that is fired onchange. Both of these fields have autocomplete=off set.  As I'm sure you are aware, Chromium based browsers don't reliably respect the autocomplete=off tag on inputs ( ) especially for inputs where type=email.  What this means, is that when new users attempt to checkout on our site and click 'Checkout', they are immediately hit with an alert saying &quot;The confirmation email differs from the email your entered. Please enter it again.&quot; In some cases, users have reported that they have to click 'ok' on two or three successive of these pop-ups.  Searching these forums show that this issue has been reported as far back as 5 years ago. The solutions from back then do not work today. ( )  We are getting an increasing number of complaints from new users to our shop about this behavior, and we have no doubt that it is causing more carts to be abandoned.  A simple fix would be for Hikashop to conduct validation of inputs using onsubmit rather than onchange. Is this something the dev team would consider?  Alternatively, would the dev team consider reviewing the forms and inputs in Hikashop to make sure they align with ? This way the email and email confirmation fields would be correctly populated by autocomplete and would not cause the alert to fire on page load.  Thank you for your help.")* was created by *[karimhaddad](/forum/user/56695-karimhaddad "View karimhaddad's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.4.11
-- Browser(s) name and version -- : Edge 86.0.622.51
-- Error-message(debug-mod must be tuned on) -- : The confirmation email differs from the email your entered. Please enter it again.

Our users are receiving error messages from Hikashop forms as soon as the checkout loads.

When users enter our checkout process they are presented with a Hikashop Guest user form. The first two inputs on this form are "email" and "email confirmation" with the second field having validation that is fired onchange. Both of these fields have autocomplete=off set.

As I'm sure you are aware, Chromium based browsers don't reliably respect the autocomplete=off tag on inputs ( [ Stack Overflow discussion](https://stackoverflow.com/questions/57367813/2019-chrome-76-approach-to-autocomplete-off) ) especially for inputs where type=email.

What this means, is that when new users attempt to checkout on our site and click 'Checkout', they are immediately hit with an alert saying "The confirmation email differs from the email your entered. Please enter it again." In some cases, users have reported that they have to click 'ok' on two or three successive of these pop-ups.

Searching these forums show that this issue has been reported as far back as 5 years ago. The solutions from back then do not work today. ( [ forum post](https://www.hikashop.com/forum/checkout/877720-email-confirmation-error-message-too-soon.html) )

We are getting an increasing number of complaints from new users to our shop about this behavior, and we have no doubt that it is causing more carts to be abandoned.

A simple fix would be for Hikashop to conduct validation of inputs using onsubmit rather than onchange. Is this something the dev team would consider?

Alternatively, would the dev team consider reviewing the forms and inputs in Hikashop to make sure they align with [ the spec](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill)? This way the email and email confirmation fields would be correctly populated by autocomplete and would not cause the alert to fire on page load.

Thank you for your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTA0Ni1jaHJvbWl1bS1hdXRvY29tcGxldGUtYmVoYXZpb3ItY2F1c2VzLWhpa2FzaG9wLWFsZXJ0cy10aGF0LWNvbmZ1c2UtdXNlcnM/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14305
-
-

6 years 2 weeks ago [\#325092](#325092) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Chromium autocomplete behavior causes Hikashop alerts that confuse users](/forum/27-checkout/901046-chromium-autocomplete-behavior-causes-hikashop-alerts-that-confuse-users#325092 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7.4.11 -- Browser(s) name and version -- : Edge 86.0.622.51 -- Error-message(debug-mod must be tuned on) -- : The confirmation email differs from the email your entered. Please enter it again.  Our users are receiving error messages from Hikashop forms as soon as the checkout loads.  When users enter our checkout process they are presented with a Hikashop Guest user form. The first two inputs on this form are &quot;email&quot; and &quot;email confirmation&quot; with the second field having validation that is fired onchange. Both of these fields have autocomplete=off set.  As I'm sure you are aware, Chromium based browsers don't reliably respect the autocomplete=off tag on inputs ( ) especially for inputs where type=email.  What this means, is that when new users attempt to checkout on our site and click 'Checkout', they are immediately hit with an alert saying &quot;The confirmation email differs from the email your entered. Please enter it again.&quot; In some cases, users have reported that they have to click 'ok' on two or three successive of these pop-ups.  Searching these forums show that this issue has been reported as far back as 5 years ago. The solutions from back then do not work today. ( )  We are getting an increasing number of complaints from new users to our shop about this behavior, and we have no doubt that it is causing more carts to be abandoned.  A simple fix would be for Hikashop to conduct validation of inputs using onsubmit rather than onchange. Is this something the dev team would consider?  Alternatively, would the dev team consider reviewing the forms and inputs in Hikashop to make sure they align with ? This way the email and email confirmation fields would be correctly populated by autocomplete and would not cause the alert to fire on page load.  Thank you for your help.")*

Hi,

The fix explained by iedwards ( [ www.hikashop.com/forum/checkout/877720-e...too-soon.html#207581](https://www.hikashop.com/forum/checkout/877720-email-confirmation-error-message-too-soon.html#207581) ) should still work, however, you have to add it to the sub_block_login_registration.php view file for the new checkout while resgistration_bootstrap.php he mentions on his message is only for the registration page, which you probably aren't using and only with the "use bootstrap v2 mode" activated, which is disabled by default.

Regarding our inputs and forms respecting the specs, as far as I can read on your link, our form and inputs do respect the spec.
It is totally valid to add autocomplete="off" to the email confirmation input field, and not to add anything to the email input field.
From what I can read, the problem is with the browser filling the email confirmation input field when it should not and with a wrong value on top of that.

Using onsubmit rather than onchange would make it less of a problem, but still a problem since now the customer would have the error when clicking on the submit button.
Also, when the browser works properly, it's normal that it warns you of the problem when you finish typing in the email confirmation field, and not when you click on the submit button. So doing that change makes the form less intuitive for everyone else.
Note that you can easily do that change on your own website in the file sub_block_login_registration.php via the menu Display&gt;Views.

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

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