2.4.1 and 2.3.6 create an account button disabled hotfix
2.4.1 and 2.3.6里注册用户,点击提交按钮时，没有禁用按钮。是个js的问题。
This article provides a hotfix for the issue when you struggle to create a new account, after inputting an incorrect value to any field on the form. For example, when you enter an email address in the wrong format, or leave the first name or last name fields empty, or do not enter a value that meets password requirements. A permanent fix will be included in the Q1 releases (2.4.2, 2.4.1-p1, and 2.3.6-p1).
The Create an Account button on the Create New Account page remains disabled if a shopper has entered invalid data. This prevents shoppers from re-attempting to create an account after making an error.
Steps to reproduce:
- Go to Create New Customer Account.
- Fill in the form fields. In the Password field input values that do not meet the password requirements. For example:
- the password in the Password field and password in the Confirm Password do not match.
- the password in the Password field and password in the Confirm password field are not long enough.
- Click the Create an Account button.
- Create an Account button should stay active/enabled.
- User should be able to create a new account.
- Create an Account button stays disabled, even after filling in all required fields with valid/correct data.
- Customer is NOT able to create a new account.
The patch is attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:
链接: https://pan.baidu.com/s/1sCbxt4udiH0pyMx07UOzqw 提取码: 9g6e
Compatible Magento versions:
The patch was created for:
- Magento Commerce Cloud 2.3.6 and 2.4.1.
- Magento Commerce 2.3.6 and 2.4.1.
The patch is not compatible with any other Magento versions and editions.