I know I can validate a title
field, so it’s checked when a page is edited in the Panel.
But when a page is created from a parent page with the “Add page” button, no validation is applied to the title.
So,
- a page with a “incorrect” name (at least for the validator) can be created
- then users edit the content and save, they’ll be told the title is incorrect and will have to change it, even though the Panel didn’t initially complain
- the slug is generated from the title they first entered, so it may be “wrong” too. If users are not allowed to modify the slug, they won’t be able to fix it.
Not sure if it should be considered an issue, or as a by-design behavior?
My use case is a conference website. Users are able to create a new edition once a year, so it seemed logical and easy to name them by their year. But I can’t make sure they actually enter a valid year when the page is created: at that point, no help:
is displayed.
An easy way around is to use a year
field separate from the title, but then they still need to enter some title, and these “editions” don’t really have any.