.. This reStructured text file has been automatically generated, do not change. .. Source: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/fluid/Classes/ViewHelpers/Form/ButtonViewHelper.php :edit-on-github-link: https://github.com/TYPO3/typo3/edit/main/typo3/sysext/fluid/Classes/ViewHelpers/Form/ButtonViewHelper.php :navigation-title: form.button .. include:: /Includes.rst.txt .. _typo3-fluid-form-button: ======================================== Form.button ViewHelper `` ======================================== Creates a button. Examples ======== Defaults:: Send Mail Output:: Disabled cancel button with some HTML5 attributes:: Cancel Output:: .. _typo3-fluid-form-button_source: Source code =========== Go to the source code of this ViewHelper: `ButtonViewHelper.php (GitHub) `__. .. _typo3-fluid-form-button_arguments: Arguments ========= The following arguments are available for ``: .. confval-menu:: :display: table :type: :default: .. _typo3-fluid-form-button-additionalattributes_argument: .. confval:: additionalAttributes :name: typo3-fluid-form-button-additionalattributes :type: mixed :required: false Additional tag attributes. They will be added directly to the resulting HTML tag. .. _typo3-fluid-form-button-data_argument: .. confval:: data :name: typo3-fluid-form-button-data :type: mixed :required: false Additional data-* attributes. They will each be added with a "data-" prefix. .. _typo3-fluid-form-button-aria_argument: .. confval:: aria :name: typo3-fluid-form-button-aria :type: mixed :required: false Additional aria-* attributes. They will each be added with a "aria-" prefix. .. _typo3-fluid-form-button-name_argument: .. confval:: name :name: typo3-fluid-form-button-name :type: string :required: false Name of input tag .. _typo3-fluid-form-button-value_argument: .. confval:: value :name: typo3-fluid-form-button-value :type: mixed :required: false Value of input tag .. _typo3-fluid-form-button-property_argument: .. confval:: property :name: typo3-fluid-form-button-property :type: string :required: false Name of Object Property. If used in conjunction with , the "name" property will be ignored, while "value" can be used to specify a default field value instead of the object property value. .. _typo3-fluid-form-button-autofocus_argument: .. confval:: autofocus :name: typo3-fluid-form-button-autofocus :type: string :required: false Specifies that a button should automatically get focus when the page loads .. _typo3-fluid-form-button-disabled_argument: .. confval:: disabled :name: typo3-fluid-form-button-disabled :type: string :required: false Specifies that the input element should be disabled when the page loads .. _typo3-fluid-form-button-form_argument: .. confval:: form :name: typo3-fluid-form-button-form :type: string :required: false Specifies one or more forms the button belongs to .. _typo3-fluid-form-button-formaction_argument: .. confval:: formaction :name: typo3-fluid-form-button-formaction :type: string :required: false Specifies where to send the form-data when a form is submitted. Only for type="submit" .. _typo3-fluid-form-button-formenctype_argument: .. confval:: formenctype :name: typo3-fluid-form-button-formenctype :type: string :required: false Specifies how form-data should be encoded before sending it to a server. Only for type="submit" (e.g. "application/x-www-form-urlencoded", "multipart/form-data" or "text/plain") .. _typo3-fluid-form-button-formmethod_argument: .. confval:: formmethod :name: typo3-fluid-form-button-formmethod :type: string :required: false Specifies how to send the form-data (which HTTP method to use). Only for type="submit" (e.g. "get" or "post") .. _typo3-fluid-form-button-formnovalidate_argument: .. confval:: formnovalidate :name: typo3-fluid-form-button-formnovalidate :type: string :required: false Specifies that the form-data should not be validated on submission. Only for type="submit" .. _typo3-fluid-form-button-formtarget_argument: .. confval:: formtarget :name: typo3-fluid-form-button-formtarget :type: string :required: false Specifies where to display the response after submitting the form. Only for type="submit" (e.g. "_blank", "_self", "_parent", "_top", "framename") .. _typo3-fluid-form-button-class_argument: .. confval:: class :name: typo3-fluid-form-button-class :type: string :required: false CSS class(es) for this element .. _typo3-fluid-form-button-dir_argument: .. confval:: dir :name: typo3-fluid-form-button-dir :type: string :required: false Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left) .. _typo3-fluid-form-button-id_argument: .. confval:: id :name: typo3-fluid-form-button-id :type: string :required: false Unique (in this file) identifier for this HTML element. .. _typo3-fluid-form-button-lang_argument: .. confval:: lang :name: typo3-fluid-form-button-lang :type: string :required: false Language for this element. Use short names specified in RFC 1766 .. _typo3-fluid-form-button-style_argument: .. confval:: style :name: typo3-fluid-form-button-style :type: string :required: false Individual CSS styles for this element .. _typo3-fluid-form-button-title_argument: .. confval:: title :name: typo3-fluid-form-button-title :type: string :required: false Tooltip text of element .. _typo3-fluid-form-button-accesskey_argument: .. confval:: accesskey :name: typo3-fluid-form-button-accesskey :type: string :required: false Keyboard shortcut to access this element .. _typo3-fluid-form-button-tabindex_argument: .. confval:: tabindex :name: typo3-fluid-form-button-tabindex :type: integer :required: false Specifies the tab order of this element .. _typo3-fluid-form-button-onclick_argument: .. confval:: onclick :name: typo3-fluid-form-button-onclick :type: string :required: false JavaScript evaluated for the onclick event .. _typo3-fluid-form-button-type_argument: .. confval:: type :name: typo3-fluid-form-button-type :type: string :default: `'submit'` :required: false Specifies the type of button (e.g. "button", "reset" or "submit")