Register page not working

Hello,can you please provide a bugfix or a solution for this error on PHPMaker v2023.11.0 Register page.Button SUBMIT goes into infinite loop.Test case is simple.
Security: ON
Register page: ONTablename: USERS
Columns:
id PK
username VARCHAR(50)
password VARCHAR(50)Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘match’)
at ew.js:351:54
at t.validate (ew.js:1668:23)
at a.validateFields (ew.js:2020:37)
at a.validate (ew.js:2079:19)
at t.canSubmit (ew.js:1121:110)
at t.submit (ew.js:1173:22)
at HTMLFormElement. (ew.js:1542:28)
at HTMLFormElement.dispatch (jquery.min.js?v=19.11.4:2:43184)
at y.handle (jquery.min.js?v=19.11.4:2:41168)First error is in this part of ew.js:

  /**
   * Password validator
   */
  function password(raw) {
    return function (el) {
      if (!raw && !ew.ENCRYPTED_PASSWORD && el.value.match(new RegExp('[' + ew.escapeRegExChars(ew.INVALID_PASSWORD_CHARACTERS) + ']'))) return {
        password: ew.language.phrase("InvalidPasswordChars")
      };
      return false;
    };
  }

Thanks!

Make sure you have selected fields to be included in the registration page, especially including the user name and password fields, see Tutorial - User Registration System.

i did select them: username and password,

and then on register page i have 3 fields to input:
username
password
and confirm password

The error means el.value is undefined, but if the field is available, the value should be empty string even not filled. Make sure you have selected the Edit Tag for the field as PASSWORD, do not try to set up lookup field for the field.