It is not uncommon for a CMS to have a validation for the path input. Can this also be implemented such that it is possible to set a common rule for all path inputs, and saving the content wouldnt be possible if rules are not followed? Exactly like input type TextLine with a config setting.
Take a look at content validator.
Worth noting that if a content does not pass your custom validation, the content would be marked as invalid. Invalid content can still be saved, but not published.
3 Likes
Hi Peder.
I would probably not recomend content validator for this use case, as it is a serve-side validation and maybe not intuitive for the editors. Do you have any examples of what kind of restrictions you would like to apply for content names?