m (Text replacement - "|Subject version=2.0,2.1" to "|Subject version=2.0,2.1,2.5")
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
email
email
===Type===
===Type===
_input
input
===Synopsis===
===Synopsis===
How to render an email input field  
How to render an email input field  
Line 13: Line 13:
===Example===
===Example===
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
<_input type="email" name="mail" placeholder="Type your email address" required="required" />
<input type="email" name="mail" placeholder="Type your email address" required="required" />
</syntaxhighlight>
</syntaxhighlight>
<_input type="email" name="mail" placeholder="Type your email address" required="required" />
<input type="email" name="mail" placeholder="Type your email address" required="required" />
===Note===
===Note===
All attributes for an email input field are supported (like in this case : name, placeholder and required.)  
All attributes for an email input field are supported (like in this case : name, placeholder and required.)  
===Links===
===Links===
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email
ws-class-props
Line 1: Line 1:
{{Doc properties
{{Csp class properties
|Subject version=2.0
|Subject version=2.0,2.1,2.5
|Doc subject=DevOps:Doc/FlexForm
|Doc subject=DevOps:Doc/FlexForm
|Doc parent=DevOps:Doc/FlexForm/1.0/input
|Doc parent=DevOps:Doc/FlexForm/1.0/input
|Doc sort order=110
|Doc sort order=110
|Doc target group=User
|Doc target group=User
|Doc synopsis=How to render an email input field
}}
}}

Latest revision as of 10:06, 21 August 2025

Name

email

Type

input

Synopsis

How to render an email input field

Description

When rendering an email input field, the browser will check if it is a valid email address.

Parameters

type="email"

All other valid parameters for an input field are valid

Example

<input type="email" name="mail" placeholder="Type your email address" required="required" />

Note

All attributes for an email input field are supported (like in this case : name, placeholder and required.)

Links

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email