ViewHelper Documentation
form
Used to output an HTML
Arguments
- additionalAttributes
- data
- enctype
- method
- name
- onreset
- onsubmit
- action
- arguments
- controller
- package
- subpackage
- object
- section
- format
- additionalParams
- absolute
- addQueryString
- argumentsToBeExcludedFromQueryString
- fieldNamePrefix
- actionUri
- objectName
- useParentRequest
- class
- dir
- id
- lang
- style
- title
- accesskey
- tabindex
- onclick
additionalAttributes anySimpleType, required
Additional tag attributes. They will be added directly to the resulting HTML tag.
data anySimpleType, required
Additional data-* attributes. They will each be added with a "data-" prefix.
enctype string, required
MIME type with which the form is submitted
method string, required
Transfer type (GET or POST)
name string, required
Name of form
onreset string, required
JavaScript: On reset of the form
onsubmit string, required
JavaScript: On submit of the form
action string, required
Target action
arguments anySimpleType, required
Arguments
controller string, required
Target controller. If NULL current controllerName is used
package string, required
Target package. if NULL current package is used
subpackage string, required
Target subpackage. if NULL current subpackage is used
object anySimpleType, required
object to use for the form. Use in conjunction with the "property" attribute on the sub tags
section string, required
The anchor to be added to the URI
format string, required
The requested format, e.g. ".html"
additionalParams anySimpleType, required
additional query parameters that won't be prefixed like $arguments (overrule $arguments)
absolute boolean, required
If set, an absolute action URI is rendered (only active if $actionUri is not set)
addQueryString boolean, required
If set, the current query parameters will be kept in the URI
argumentsToBeExcludedFromQueryString anySimpleType, required
arguments to be removed from the URI. Only active if $addQueryString = TRUE
fieldNamePrefix string, required
Prefix that will be added to all field names within this form
actionUri string, required
can be used to overwrite the "action" attribute of the form tag
objectName string, required
name of the object that is bound to this form. If this argument is not specified, the name attribute of this form is used to determine the FormObjectName
useParentRequest boolean, required
If set, the parent Request will be used instead ob the current one
class string, required
CSS class(es) for this element
dir string, required
Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)
id string, required
Unique (in this file) identifier for this HTML element.
lang string, required
Language for this element. Use short names specified in RFC 1766
style string, required
Individual CSS styles for this element
title string, required
Tooltip text of element
accesskey string, required
Keyboard shortcut to access this element
tabindex integer, required
Specifies the tab order of this element
onclick string, required
JavaScript evaluated for the onclick event