Email Field
API: Web Component / Java
Source: Web Component / Java
Email Field, an extension of Text Field, only accepts email addresses as input. If the given address is invalid, the field is highlighted in red and an error message appears underneath the input.
Validity of the email addresses is checked according to the RFC 5322 standard, which includes the format for email addresses.
Pattern for Additional Validation
The pattern attribute is an additional validation criterion that you can set if, for example, a specific domain is required. The pattern is specified using regular expression.
The example below uses the pattern .+@example\.com
and only accepts addresses in the example.com domain.
2BFACD7A-C2C7-4DA5-937E-13B6CCF3E519