magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Invalid field(s) above the fold during checkout.

Open jarhody opened this issue 9 years ago • 2 comments

Preconditions

  1. Version 2.1.5
  2. PHP 5.6

Steps to reproduce

  1. Add any item to cart
  2. Go to checkout fill out form leaving out any required field like last name or city (or in my case my browser auto fills an invalid email address which does not trigger an immediate notice)
  3. Scroll down to shipping methods
  4. Select shipping method
  5. Click Next

Expected result

  1. A notice should appear within the users viewport or take the user to the error point on the page

Actual result

  1. Nothing occurs within the users viewport. The notice is only above the fold and requires the to scroll or abandon cart :(

Shipping Step shipping_next Above the Fold error_above_viewport

With auto fill programs and browsers becoming more popular (and not always perfect as in my case with the email field) this behavior will lead to more abandon carts and user frustration.

jarhody avatar Mar 22 '17 18:03 jarhody

@jarhody, thank you for your report. The issue is already fixed in develop branch, 2.2.0

magento-engcom-team avatar Oct 01 '17 09:10 magento-engcom-team

@magento-engcom-team actually this should be reopened, as focusInvalid is implemented for only shipping address form but it needs to be implemented to all validation errors on checkout page (billing address ,agreements, etc)

right now same issue happens with entering different billing address

speedupmate avatar Feb 18 '18 15:02 speedupmate