I have a custom field that I need to be required (and not allow the page to save if it is not present). With SS2 I followed this post's (http://www.silverstripe.org/data-model-questions/show/6128 advice and had the following in my page class (after the statics and before the getCMSFields function:
function getCMSValidator() {
return new RequiredFields('ConcertDate');
}
This no longer correctly works in SS3 (raises error but does allow a new page to be saved) so I suspect there is a new way? Any help much appreciated.