I am having a form and I have an array of input fields for video urls, now when I validate form if I have multiple invalid fields with video urls, I get the same message for eac
public function messages()
{
$messages = [];
foreach ($this->request->get('external_media') as $key => $val) {
$messages['external_media.' . $key . '.active_url'] = 'The '.$val .' is not a valid URL.'
}
return $messages;
}