Skip to content

[2.3.6 & 2.4.1] Submitting invalid create account form leaves the submit button disabled #30513

Closed
@hostep

Description

@hostep

Preconditions (*)

  1. Magento 2.3.6 and 2.4.1
  2. Confirmed on 2.4.1 composer installation
    Note(16 oct 2020): on git 2.4-develop branch it possibly not reproducible because the branch is not synced with release code yet

Intitial case for 2.3.6

Steps to reproduce (*)

  1. Install clean Magento 2.3.6 or 2.4.1
  2. Go to the create a new account form
  3. Press the 'Create an Account' button without filling in any fields
  4. Notice that the button turns inactive/disabled

Expected result (*)

  1. Button should stay active/enabled

Actual result (*)

  1. Button stays disabled, even after filling in all required fields, so you can't submit the form

Case for 2.4.1

Steps to reproduce (*)

  1. Go to Create New Customer Account
  2. Fill form but do some mistake e.g. in password fields. Example:
    -- password/Confirm password is not equal
    -- password/Confirm password is not long enough
  3. Click "Create an Account" button
  4. Result: Form validation is failed and "Create an Account" button is not clickable(disabled)
  5. Correct/fix a mistake(s)

Expected result (*)

  1. Button should stay active/enabled
  2. User should be able to create new account

Actual result (*)

  1. Button stays disabled, even after filling in all required fields with valid/correct data
  2. Customer is NOT able to create new Account

30513_p1

Discussion

This is pretty bad because when people make a single mistake on a form, they can no longer submit the form after correcting their mistake, they need to refresh the form and loose all the data they entered and enter them again.

Maybe other forms are affected as well, not tested yet...

 

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • < ] Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • [ > Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

| Patch is released in MQP|borderStyle=dashed|borderColor=#cccccc|titleBGColor=#dddddd|bgColor=#e3ffea |
| --- |
|

  • MQP release:
    1.0.11

  • Patch ID
    MC-38509

  • Are there any additional actions required after the patch installation to make it work?
    N/A

  • Compatible with Magento versions:
    Magento Commerce and Magento Commerce Cloud 2.3.6, 2.4.1
    Check using Patch Checker tool

  • Fix version
    2.4.2 |

 

Metadata

Metadata

Assignees

Labels

Event: MageCONF CD 2020Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P0This generally occurs in cases when the entire functionality is blocked.Progress: doneReported on 2.3.6Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions