From: Tim Düsterhus Date: Mon, 10 Oct 2022 14:36:19 +0000 (+0200) Subject: Document HiddenFormField X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=813813b50c33d38f784799fa87c953ae8aecb82b;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Document HiddenFormField Resolves #287 --- diff --git a/docs/php/api/form_builder/form_fields.md b/docs/php/api/form_builder/form_fields.md index d966b557..b7730cdf 100644 --- a/docs/php/api/form_builder/form_fields.md +++ b/docs/php/api/form_builder/form_fields.md @@ -95,6 +95,13 @@ The class implements `IAttributeFormField`, `IAutoCompleteFormField`, `IAutoFocu `FloatFormField` is an implementation of [AbstractNumericFormField](#abstractnumericformfield) for floating point numbers. +### `HiddenFormField` + +`HiddenFormField` is a form field without any user-visible UI. +Even though the form field is invisible to the user, the value can still be modified by the user, e.g. by leveraging the web browsers developer tools. +The `HiddenFormField` *must not* be used to transfer sensitive information or information that the user should not be able to modify. + + ### `IconFormField` `IconFormField` is a form field to select a FontAwesome icon.