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!