1

Prevent RegEx validation that isn't supported by the server

When adding Regular Expression validation, the builder allows any regex string.

However, if using a regex that isn't supported by PHP's preg_match function (which is used under the hood), the validation itself will throw a server-side error (500) upon the validation event (on_blur). 

The error has no meaningful details and no way for the end user or the admin to know what happened. 

Comments

To leave a comment, please authenticate.

No comments yet
Voters
Status
Backlog
Board
Bug
Submitted
joeysh