octobercms/october · error · Error
The pattern parameter is not defined in the Regex table vali
Error message
The pattern parameter is not defined in the Regex table validator configuration
What it means
Error "The pattern parameter is not defined in the Regex table validator configuration" thrown in octobercms/october.
Source
Thrown at modules/backend/widgets/table/assets/js/table.validator.regex.js:41
};
Regex.prototype = Object.create(BaseProto)
Regex.prototype.constructor = Regex
/*
* Validates a value and returns the error message. If there
* are no errors, returns undefined.
* The rowData parameter is an object containing all values in the
* target row.
*/
Regex.prototype.validateValue = function(value, rowData) {
value = this.trim(value)
if (value.length == 0)
return
if (this.options.pattern === undefined)
throw new Error('The pattern parameter is not defined in the Regex table validator configuration')
var regexObj = new RegExp(this.options.pattern, this.options.modifiers)
if (!regexObj.test(value))
return this.getMessage("Invalid value format.")
return
}
$.oc.table.validator.regex = Regex
}(window.jQuery);View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/widgets/table/assets/js/table.validator.regex.js:41 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/b016ec7514207a84.
Report an issue: GitHub.