1

I have a field which has urlRegexValidator.

In Sitecore 10 I have created a new validation in this path

/sitecore/system/Settings/Forms/Validations/Website Validator.

Paramtere : {"regularExpression":"^(https?:\\/\\/)?((([-a-z0-9]{1,63}\\.)*?[a-z0-9]([-a-z0-9]{0,253}[a-z0-9])?\\.[a-z]{2,63})|((\\d{1,3}\\.){3}\\d{1,3}))(:\\d{1,5})?((\\/|\\?)((%[0-9a-f]{2})|[-\\w\\+\\.\\?\\/@~#&=])*)?$"}.

The validation is not happening for the field. Please let me know if I am missing anything here for validation

3

0

Browse other questions tagged or ask your own question.