---
title: "FormNormalizerInterface"
manual: "mosparo integration for EXT:form and Extbase-based forms"
version: "1.1"
permalink: "https://docs.typo3.org/permalink/denkwerk/mosparo-form:api-form-normalizer-interface@1.1"
source: "Api/FormNormalizerInterface.rst"
rendered: "2026-11-11T13:09:55+00:00"
---

# FormNormalizerInterface {#api-form-normalizer-interface}

-   **interface FormNormalizerInterface**

    -   *Fully qualified name:* `\Denkwerk\MosparoForm\FormNormalizer\FormNormalizerInterface`

    Interface for normalizing form POST data into a `NormalizedData` object,
    used by mosparo for validation.

    -   **supports(?MosparoFormDefinitionInterface $formDefinition) : bool**

        Returns whether this normalizer supports processing the given form definition.

        -   *param MosparoFormDefinitionInterface|null $formDefinition:* The form definition to check.
        -   *returntype:* bool

    -   **normalize(array $postData, MosparoFormDefinitionInterface $formDefinition) : NormalizedData**

        Normalize the raw POST data according to the form definition and return a
        `NormalizedData` instance ready for mosparo validation.

        -   *param array\<int|string, mixed> $postData:* The raw `$_POST` data.
        -   *param MosparoFormDefinitionInterface $formDefinition:* The form structure definition.
        -   *returntype:* NormalizedData
