World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
You should be able to remove only the UrlSegment validator by call
EPiServer.GlobalPageValidation.Validators -= EPiServer.Web.UrlSegment.ValidateEventHandler;
Hi,
I have been trying to disable the default validator for UrlSegments (Page name in Web address) but with no success. The reason to do so is I want to replace all invalid characters within the property so the editor does not need to care about writing invalid characters or not.
I don't want to disable other validators. So, is there a possibility except using RemoveDefaultValidators?
The best,
Coskun