3 namespace TYPO3\CMS\Fluid\ViewHelpers\Form;
51 parent::initializeArguments();
53 'autofocus',
'string',
'Specifies that a button should automatically get focus when the page loads'
56 'disabled',
'string',
'Specifies that the input element should be disabled when the page loads'
58 $this->
registerTagAttribute(
'form',
'string',
'Specifies one or more forms the button belongs to');
60 'formaction',
'string',
61 'Specifies where to send the form-data when a form is submitted. Only for type="submit"'
64 'formenctype',
'string',
65 '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")'
68 'formmethod',
'string',
69 'Specifies how to send the form-data (which HTTP method to use). Only for type="submit" (e.g. "get" or "post")'
72 'formnovalidate',
'string',
73 'Specifies that the form-data should not be validated on submission. Only for type="submit"'
76 'formtarget',
'string',
77 'Specifies where to display the response after submitting the form. Only for type="submit" (e.g. "_blank", "_self", "_parent", "_top", "framename")'
89 public function render($type =
'submit')
94 $this->tag->addAttribute(
'type', $type);
95 $this->tag->addAttribute(
'name', $name);
99 return $this->tag->render();