[Checkbox]¶
Properties¶
implementationClassName¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.implementationClassName
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
No
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
Yes
- Default value (for prototype 'standard')
1Checkbox: 2 implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
- Description
Classname which implements the form element.
properties.containerClassAttribute¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.properties.containerClassAttribute
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1Checkbox: 2 properties: 3 containerClassAttribute: 'input checkbox' 4 elementClassAttribute: add-on 5 elementErrorClassAttribute: error 6 value: 1
- Description
A CSS class which is typically wrapped around the form elements.
properties.elementClassAttribute¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.properties.elementClassAttribute
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1Checkbox: 2 properties: 3 containerClassAttribute: 'input checkbox' 4 elementClassAttribute: add-on 5 elementErrorClassAttribute: error 6 value: 1
- Description
A CSS class written to the form element.
properties.elementDescription¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.properties.elementDescription
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- Form editor can write this property into the form definition (for prototype 'standard')
Yes
- Mandatory
No
- Default value (for prototype 'standard')
Undefined
- Good to know
- Description
Set a description of the form element. By default, it is displayed below the form element.
properties.elementErrorClassAttribute¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.properties.elementErrorClassAttribute
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1Checkbox: 2 properties: 3 containerClassAttribute: 'input checkbox' 4 elementClassAttribute: add-on 5 elementErrorClassAttribute: error 6 value: 1
- Description
A CSS class which is written to the form element if validation errors exists.
properties.value¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.properties.value
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1Checkbox: 2 properties: 3 containerClassAttribute: 'input checkbox' 4 elementClassAttribute: add-on 5 elementErrorClassAttribute: error 6 value: 1
- Description
The value of the checkbox which should be sent to the server.
formEditor¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor
- Data type
array
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 editors: 4 100: 5 identifier: header 6 templateName: Inspector-FormElementHeaderEditor 7 200: 8 identifier: label 9 templateName: Inspector-TextEditor 10 label: formEditor.elements.FormElement.editor.label.label 11 propertyPath: label 12 230: 13 identifier: elementDescription 14 templateName: Inspector-TextEditor 15 label: formEditor.elements.FormElement.editor.elementDescription.label 16 propertyPath: properties.elementDescription 17 700: 18 identifier: gridColumnViewPortConfiguration 19 templateName: Inspector-GridColumnViewPortConfigurationEditor 20 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label 21 configurationOptions: 22 viewPorts: 23 10: 24 viewPortIdentifier: xs 25 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label 26 20: 27 viewPortIdentifier: sm 28 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label 29 30: 30 viewPortIdentifier: md 31 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label 32 40: 33 viewPortIdentifier: lg 34 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label 35 numbersOfColumnsToUse: 36 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label 37 propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse' 38 fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText 39 800: 40 identifier: requiredValidator 41 templateName: Inspector-RequiredValidatorEditor 42 label: formEditor.elements.FormElement.editor.requiredValidator.label 43 validatorIdentifier: NotEmpty 44 propertyPath: properties.fluidAdditionalAttributes.required 45 propertyValue: required 46 9999: 47 identifier: removeButton 48 templateName: Inspector-RemoveElementEditor 49 predefinedDefaults: { } 50 label: formEditor.elements.Checkbox.label 51 group: select 52 groupSorting: 100 53 iconIdentifier: form-checkbox
formEditor.editors.100¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.editors.100
- Data type
array/ [FormElementHeaderEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 editors: 4 100: 5 identifier: header 6 templateName: Inspector-FormElementHeaderEditor
formEditor.editors.200¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.editors.200
- Data type
array/ [TextEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 editors: 4 200: 5 identifier: label 6 templateName: Inspector-TextEditor 7 label: formEditor.elements.FormElement.editor.label.label 8 propertyPath: label
formEditor.editors.230¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.editors.230
- Data type
array/ [TextEditor]
- Needed by
Frontend/ Backend (form editor)
- Mandatory
No
- Default value (for prototype 'standard')
1Date: 2 formEditor: 3 editors: 4 230: 5 identifier: elementDescription 6 templateName: Inspector-TextEditor 7 label: formEditor.elements.FormElement.editor.elementDescription.label 8 propertyPath: properties.elementDescription
formEditor.editors.700¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.editors.700
- Data type
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 editors: 4 700: 5 identifier: gridColumnViewPortConfiguration 6 templateName: Inspector-GridColumnViewPortConfigurationEditor 7 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label 8 configurationOptions: 9 viewPorts: 10 10: 11 viewPortIdentifier: xs 12 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label 13 20: 14 viewPortIdentifier: sm 15 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label 16 30: 17 viewPortIdentifier: md 18 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label 19 40: 20 viewPortIdentifier: lg 21 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label 22 numbersOfColumnsToUse: 23 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label 24 propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse' 25 fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
formEditor.editors.800¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.editors.800
- Data type
array/ [RequiredValidatorEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 editors: 4 800: 5 identifier: requiredValidator 6 templateName: Inspector-RequiredValidatorEditor 7 label: formEditor.elements.FormElement.editor.requiredValidator.label 8 validatorIdentifier: NotEmpty 9 propertyPath: properties.fluidAdditionalAttributes.required 10 propertyValue: required
formEditor.editors.9999¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.editors.9999
- Data type
array/ [RemoveElementEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 editors: 4 9999: 5 identifier: removeButton 6 templateName: Inspector-RemoveElementEditor
formEditor.predefinedDefaults¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.predefinedDefaults
- Data type
array
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 predefinedDefaults: { }
- Description
Defines predefined defaults for form element properties which are prefilled, if the form element is added to a form.
formEditor.label¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.label
- Data type
string
- Needed by
Backend (form editor)
- Mandatory
Yes
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 label: formEditor.elements.Checkbox.label
- Good to know
- Description
This label will be shown within the "new element" Modal.
formEditor.group¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.group
- Data type
string
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 group: select
- Default value
Depends (see concrete element configuration)
- Description
Define within which group within the
form editor
"new Element" modal the form element should be shown. Thegroup
value must be equal to an array key withinformElementGroups
.
formEditor.groupSorting¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.groupSorting
- Data type
int
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 groupSorting: 100
- Description
The position within the
formEditor.group
for this form element.
formEditor.iconIdentifier¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Checkbox.formEditor.iconIdentifier
- Data type
string
- Needed by
Backend (form editor)
- Mandatory
Yes
- Default value (for prototype 'standard')
1Checkbox: 2 formEditor: 3 iconIdentifier: form-checkbox
- Description
An icon identifier which must be registered through the
\TYPO3\CMS\Core\Imaging\IconRegistry
. This icon will be shown withinTree
component."new element" Modal