HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Input Email Object : Find out if an email field accept multiple values/emails
The multiple property sets or returns whether an email field should accept multiple values/emails on form submission.
When set to true, it specifies that the user is allowed to enter more than one value/email in the email field.
This property reflects the HTML multiple attribute.
Property | |||||
---|---|---|---|---|---|
multiple | Yes | 10.0 | Yes | Yes | Yes |
Return the multiple property:
Set the multiple property:
Value | Description |
---|---|
true|false |
Specifies whether an email field should accept multiple emails on form submission
|
Return Value: | A Boolean, returns true if the email field accept multiple emails, otherwise it returns false |
---|
Set an email field to allow multiple emails:
document.getElementById("myEmail").multiple = true;
HTML reference: HTML <input> multiple attribute
❮ Input Email Object