From 838904c5e19cc2751482e32edf3f7a386b5b1f6b Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 16 Jan 2021 09:39:16 +0100 Subject: [PATCH] Document `EmailFormField` --- docs/php/api/form_builder/form_fields.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/php/api/form_builder/form_fields.md b/docs/php/api/form_builder/form_fields.md index 4612fdcd..88363a53 100644 --- a/docs/php/api/form_builder/form_fields.md +++ b/docs/php/api/form_builder/form_fields.md @@ -77,6 +77,12 @@ The following methods are specific to this form field class: `DescriptionFormField` is a [multi-line text form field](#multilinetextformfield) with `description` as the default id and `wcf.global.description` as the default label. +### `EmailFormField` + +`EmailFormField` is a form field to enter an email address which is internally validated using `UserUtil::isValidEmail()`. +The class implements `IAttributeFormField`, `IAutoCompleteFormField`, `IAutoFocusFormField`, `ICssClassFormField`, `II18nFormField`, `IImmutableFormField`, `IInputModeFormField`, `IPatternFormField`, and `IPlaceholderFormField`. + + ### `FloatFormField` `FloatFormField` is an implementation of [AbstractNumericFormField](#abstractnumericformfield) for floating point numbers. -- 2.20.1