---
title: "Feature: #80126 maximum field length not set as attribute \"maxlength\""
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-80126"
source: "Changelog/8.7/Feature-80126-ExtFormSetMaximumFieldLengthAsAttribute.rst"
typo3-version: "8.7"
typo3-major: 8
type: "feature"
issue: 80126
forge: "https://forge.typo3.org/issues/80126"
tags: ["Frontend", "Backend", "ext:form"]
rendered: "2026-09-24T21:45:06+00:00"
---

# Feature: #80126 maximum field length not set as attribute "maxlength" {#feature-80126}

See [forge#80126](https://forge.typo3.org/issues/80126)
See [forge#80128](https://forge.typo3.org/issues/80128)

## Description {#description}

If a form element is set to be use the 'String length' server side validation through the form editor, the client side
validation properties `minlength` and `maxlength` will be rendered.

Result:

```yaml
renderables:
  -
    type: <formElementType>
    ...
    properties:
      fluidAdditionalAttributes:
        minlength: 2
        maxlength: 3
        ...
    validators:
      -
        identifier: StringLength
        options:
          minimum: 2
          maximum: 3
```
