From: Matthias Schmidt Date: Sat, 16 Jan 2021 08:47:13 +0000 (+0100) Subject: Document `ButtonFormField` X-Git-Tag: 5.6.final~316^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=78799311be369a2a6bf3cd2d087bacb34ad0f7e9;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Document `ButtonFormField` --- diff --git a/docs/php/api/form_builder/form_fields.md b/docs/php/api/form_builder/form_fields.md index 88363a53..3f60deaa 100644 --- a/docs/php/api/form_builder/form_fields.md +++ b/docs/php/api/form_builder/form_fields.md @@ -207,6 +207,16 @@ A category name of `null` signals that no category filter is used. The relevant database object action method is expected, based on the given ACL object type id, to save the ACL option values appropriately. +### `ButtonFormField` + +!!! info "Only available since version 5.4." + +`ButtonFormField` shows a submit button as part of the form. +The class implements `IAttributeFormField` and `ICssClassFormField`. + +Specifically for this form field, there is the `IsNotClickedFormFieldDependency` dependency with which certain parts of the form will only be processed if the relevent button has not clicked. + + ### `CaptchaFormField` `CaptchaFormField` is used to add captcha protection to the form.