[Telephone]

Properties

implementationClassName

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.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')
Telephone:
  implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
Copied!
Description
Classname which implements the form element.

properties.containerClassAttribute

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.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')
Telephone:
  properties:
    containerClassAttribute: input
    elementClassAttribute: ''
    elementErrorClassAttribute: error
Copied!
Description
A CSS class which is typically wrapped around the form elements.

properties.elementClassAttribute

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.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')
Telephone:
  properties:
    containerClassAttribute: input
    elementClassAttribute: ''
    elementErrorClassAttribute: error
Copied!
Description
A CSS class written to the form element.

properties.elementDescription

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.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
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.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')
Telephone:
  properties:
    containerClassAttribute: input
    elementClassAttribute: ''
    elementErrorClassAttribute: error
Copied!
Description
A CSS class which is written to the form element if validation errors exists.

validators

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.validators
Data type
array
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
Yes
Default value (for prototype 'standard')
Telephone:
  validators:
    -
      identifier: RegularExpression
      options:
        regularExpression: '/^.*$/'
Copied!
Description
Predefined validators.

formEditor

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor
Data type
array
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      100:
        identifier: header
        templateName: Inspector-FormElementHeaderEditor
      200:
        identifier: label
        templateName: Inspector-TextEditor
        label: formEditor.elements.FormElement.editor.label.label
        propertyPath: label
     230:
        identifier: elementDescription
        templateName: Inspector-TextEditor
        label: formEditor.elements.FormElement.editor.elementDescription.label
        propertyPath: properties.elementDescription
      400:
        identifier: placeholder
        templateName: Inspector-TextEditor
        label: formEditor.elements.TextMixin.editor.placeholder.label
        propertyPath: properties.fluidAdditionalAttributes.placeholder
        doNotSetIfPropertyValueIsEmpty: true
      500:
        identifier: defaultValue
        templateName: Inspector-TextEditor
        label: formEditor.elements.TextMixin.editor.defaultValue.label
        propertyPath: defaultValue
      700:
        identifier: gridColumnViewPortConfiguration
        templateName: Inspector-GridColumnViewPortConfigurationEditor
        label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label
        configurationOptions:
          viewPorts:
            10:
              viewPortIdentifier: xs
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label
            20:
              viewPortIdentifier: sm
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label
            30:
              viewPortIdentifier: md
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label
            40:
              viewPortIdentifier: lg
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label
          numbersOfColumnsToUse:
            label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label
            propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse'
            fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
      800:
        identifier: requiredValidator
        templateName: Inspector-RequiredValidatorEditor
        label: formEditor.elements.FormElement.editor.requiredValidator.label
        validatorIdentifier: NotEmpty
        propertyPath: properties.fluidAdditionalAttributes.required
        propertyValue: required
      900:
        identifier: validators
        templateName: Inspector-ValidatorsEditor
        label: formEditor.elements.TextMixin.editor.validators.label
        selectOptions:
          10:
            value: ''
            label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
          # @deprecated since v12, will be removed in v13
          90:
            value: RegularExpression
            label: formEditor.elements.TextMixin.editor.validators.RegularExpression.label
      9999:
        identifier: removeButton
        templateName: Inspector-RemoveElementEditor
    predefinedDefaults:
      defaultValue: ''
    propertyCollections:
      validators:
        80:
          identifier: RegularExpression
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              label: formEditor.elements.TextMixin.validators.RegularExpression.editor.header.label
            200:
              identifier: regex
              templateName: Inspector-TextEditor
              label: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.label
              fieldExplanationText: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.fieldExplanationText
              propertyPath: options.regularExpression
              propertyValidators:
                10: NotEmpty
                20: RegularExpressionPattern
    label: formEditor.elements.Telephone.label
    group: html5
    groupSorting: 200
    iconIdentifier: form-telephone
Copied!

formEditor.editors.100

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.100
Data type
array/ [FormElementHeaderEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      100:
        identifier: header
        templateName: Inspector-FormElementHeaderEditor
Copied!

formEditor.editors.200

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.200
Data type
array/ [TextEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      200:
        identifier: label
        templateName: Inspector-TextEditor
        label: formEditor.elements.FormElement.editor.label.label
        propertyPath: label
Copied!

formEditor.editors.230

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.230
Data type
array/ [TextEditor]
Needed by
Frontend/ Backend (form editor)
Mandatory
No
Default value (for prototype 'standard')
Date:
  formEditor:
    editors:
      230:
        identifier: elementDescription
        templateName: Inspector-TextEditor
        label: formEditor.elements.FormElement.editor.elementDescription.label
        propertyPath: properties.elementDescription
Copied!

formEditor.editors.400

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.400
Data type
array/ [TextEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      400:
        identifier: placeholder
        templateName: Inspector-TextEditor
        label: formEditor.elements.TextMixin.editor.placeholder.label
        propertyPath: properties.fluidAdditionalAttributes.placeholder
        compatibilityPropertyPath: properties.placeholder
        doNotSetIfPropertyValueIsEmpty: true
Copied!

formEditor.editors.500

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.500
Data type
array/ [TextEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      500:
        identifier: defaultValue
        templateName: Inspector-TextEditor
        label: formEditor.elements.TextMixin.editor.defaultValue.label
        propertyPath: defaultValue
Copied!

formEditor.editors.700

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.700
Data type
array/ [GridColumnViewPortConfigurationEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      700:
        identifier: gridColumnViewPortConfiguration
        templateName: Inspector-GridColumnViewPortConfigurationEditor
        label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label
        configurationOptions:
          viewPorts:
            10:
              viewPortIdentifier: xs
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label
            20:
              viewPortIdentifier: sm
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label
            30:
              viewPortIdentifier: md
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label
            40:
              viewPortIdentifier: lg
              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label
          numbersOfColumnsToUse:
            label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label
            propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse'
            fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
Copied!

formEditor.editors.800

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.800
Data type
array/ [RequiredValidatorEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      800:
        identifier: requiredValidator
        templateName: Inspector-RequiredValidatorEditor
        label: formEditor.elements.FormElement.editor.requiredValidator.label
        validatorIdentifier: NotEmpty
        propertyPath: properties.fluidAdditionalAttributes.required
        propertyValue: required
Copied!

formEditor.editors.900

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.900
Data type
array/ [ValidatorsEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      900:
        identifier: validators
        templateName: Inspector-ValidatorsEditor
        label: formEditor.elements.TextMixin.editor.validators.label
        selectOptions:
          10:
            value: ''
            label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
          # @deprecated since v12, will be removed in v13
          90:
            value: RegularExpression
            label: formEditor.elements.TextMixin.editor.validators.RegularExpression.label
Copied!

formEditor.editors.9999

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.editors.9999
Data type
array/ [RemoveElementEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    editors:
      9999:
        identifier: removeButton
        templateName: Inspector-RemoveElementEditor
Copied!

formEditor.predefinedDefaults

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.predefinedDefaults
Data type
array
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    predefinedDefaults:
      defaultValue: ''
Copied!
Description
Defines predefined defaults for form element properties which are prefilled, if the form element is added to a form.

formEditor.propertyCollections.validators.80

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.propertyCollections.validators.80
Data type
array
Needed by
Backend (form editor)
Mandatory
No
Default value (for prototype 'standard')
Telephone:
  formEditor:
    propertyCollections:
      validators:
        80:
          identifier: RegularExpression
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              label: formEditor.elements.TextMixin.validators.RegularExpression.editor.header.label
            200:
              identifier: regex
              templateName: Inspector-TextEditor
              label: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.label
              fieldExplanationText: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.fieldExplanationText
              propertyPath: options.regularExpression
              propertyValidators:
                10: NotEmpty
                20: RegularExpressionPattern
Copied!

formEditor.propertyCollections.validators.80.identifier

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.propertyCollections.validators.80.identifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
Telephone:
  formEditor:
    propertyCollections:
      validators:
        80:
          identifier: RegularExpression
Copied!
Good to know
Description
Identifies the validator which should be attached to the form element. Must be equal to an existing <validatorIdentifier>.

formEditor.propertyCollections.validators.80.editors.100

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Text.formEditor.propertyCollections.validators.80.editors.100
Data type
array/ [CollectionElementHeaderEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Text:
  formEditor:
    propertyCollections:
      validators:
        80:
          identifier: RegularExpression
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              label: formEditor.elements.TextMixin.validators.RegularExpression.editor.header.label
Copied!

formEditor.propertyCollections.validators.80.editors.200

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.propertyCollections.validators.80.editors.200
Data type
array/ [TextEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    propertyCollections:
      validators:
        80:
          identifier: RegularExpression
          editors:
            200:
              identifier: regex
              templateName: Inspector-TextEditor
              label: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.label
              fieldExplanationText: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.fieldExplanationText
              propertyPath: options.regularExpression
              propertyValidators:
                10: NotEmpty
                20: RegularExpressionPattern
Copied!

formEditor.label

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
Telephone:
  formEditor:
    label: formEditor.elements.Telephone.label
Copied!
Good to know
Description
This label will be shown within the "new element" Modal.

formEditor.group

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.group
Data type
string
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    group: html5
Copied!
Description
Define within which group within the form editor "new Element" modal the form element should be shown. The group value must be equal to an array key within formElementGroups.

formEditor.groupSorting

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.groupSorting
Data type
int
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    groupSorting: 200
Copied!
Description
The position within the formEditor.group for this form element.

formEditor.iconIdentifier

Option path
prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor.iconIdentifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype 'standard')
Telephone:
  formEditor:
    iconIdentifier: form-telephone
Copied!
Description

An icon identifier which must be registered through the \TYPO3\CMS\Core\Imaging\IconRegistry . This icon will be shown within