m (Admin moved page DevOps:Doc/ input/email to DevOps:Doc/FlexForm/1.0.0/ input/email without leaving a redirect) |
m (Text replacement - "{{Doc properties" to "{{Csp class properties") |
||
| (11 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
===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=== | |||
<syntaxhighlight lang="html"> | |||
<_input type="email" name="mail" placeholder="Type your email address" required="required" /> | |||
</syntaxhighlight> | |||
<_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 | |||
| ws-base-props | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{{Base properties | {{Base properties | ||
|Title= | |Title=input/email | ||
|Class=Doc | |Class=Doc | ||
}} | }} | ||
| ws-class-props | |||
| Line 1: | Line 1: | ||
{{Csp class properties | |||
|Doc subject=DevOps:Doc/FlexForm | |||
|Subject version=1.0,1.1 | |||
|Doc parent=DevOps:Doc/FlexForm/1.0/input | |||
|Doc sort order=110 | |||
|Doc target group=User | |||
|Doc synopsis=How to render an email input field | |||
}} | |||
Latest revision as of 10:00, 15 July 2025
Name
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