Custom attribute validator for Concrete5