---
title: "HBS_VALIDATION_RESULTS"
manual: "Handlebars"
version: "main"
permalink: "https://docs.typo3.org/permalink/cpsit/typo3-handlebars-forms:co-hbs-validation-results@main"
source: "Usage/ContentObjects/ValidationResults.rst"
rendered: "2026-09-29T09:18:02+00:00"
---

# HBS_VALIDATION_RESULTS {#co-hbs-validation-results}

Returns the Extbase validation results for the current renderable. Without an
`output` instruction the raw `Result` object is returned.

**Output instructions**

-   **EACH_ERROR**

    -   *Type:* string instruction

    Iterates over every error and processes each with the sub-configuration in
    `output`. On composite renderables the result is a dictionary keyed by
    property path; on leaf elements it is a flat list.

-   **EACH_RENDERABLE**

    -   *Type:* string instruction

    Iterates over renderables that have at least one error. Processes each with
    the sub-configuration, then passes the result through a second round of
    `process-form` resolution so nested `HBS_*` objects are
    resolved too. The result is a dictionary keyed by property path.

-   **ERROR_MESSAGE**

    -   *Type:* string instruction

    Returns the translated message for the first error in the result set.

-   **HAS_ERRORS**

    -   *Type:* string instruction

    Returns `true` if the result set contains at least one error,
    `false` otherwise.

-   **RESULT**

    -   *Type:* string instruction

    Returns a property from the `Result` object. Requires
    `output.propertyPath` to be set.

**Example**

```typoscript
errors = HBS_VALIDATION_RESULTS
errors {
    output = EACH_RENDERABLE
    output {
        label = HBS_LABEL

        message = HBS_VALIDATION_RESULTS
        message.output = ERROR_MESSAGE
    }
}
```
