Active
Project:
Clientside Validation
Version:
4.0.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2024 at 13:48 UTC
Updated:
1 Mar 2024 at 13:48 UTC
Jump to comment: Most recent
The html <input type='email' multiple> specification allows adding multiple addresses separated by commas, but the validation marks multiple email addresses as an invalid email.
create a form field with the multiple attribute
$form['email'] => [
'#type' => 'email',
'#title' => 'test',
'#attributes' => [
'multiple'=>TRUE,
],
];
return $form;
this properly creates an html email input, but the validation fails when you enter an email in the format test@email.com,test@email.org
Comments