a validator for Silverstripe