protected function addIteratedValidationMessages($attribute, $messages = [])
    {
        foreach ($messages as $field => $message) {
            $field_name = $attribute.$field;
            $messages[$field_name] = $message;
        }
        $this->setCustomMessages($messages);
    }