# Required Field in Structure Field inside Blocks errors “Invalid form with errors”

**URL:** <https://forum.getkirby.com/t/required-field-in-structure-field-inside-blocks-errors-invalid-form-with-errors/35510>\
**Category:** Questions\
**Tags:** v5\
**Created:** [July 13, 2026, 8:50am UTC](https://forum.getkirby.com/t/required-field-in-structure-field-inside-blocks-errors-invalid-form-with-errors/35510 "2026-07-13T08:50:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericwaetke](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ericwaetke/32/15942_2.png) [@ericwaetke](https://forum.getkirby.com/u/ericwaetke)\
**Post date:** [July 13, 2026, 8:50am UTC](https://forum.getkirby.com/t/required-field-in-structure-field-inside-blocks-errors-invalid-form-with-errors/35510/1 "2026-07-13T08:50:16Z")

</div>

Hi, I’ve got a custom block that has a structure field with a required file field inside.

```yaml
blueprint: block
fields:
  cards:
    fields:
      image:
        multiple: false
        required: true
        type: files
        uploads: image
      …
    type: structure
icon: block-slider
name: Slider

```

When not adding a file, deleting a previously used file etc, this results in the error message `Invalid form with errors`, which is not at all a usable error message for the users who edit the content.

Is there a way to manually adjust this sort of error message with a plugin validator or something? Might this even be a bug in kirby itself? It seems to me that error messages, even in blocks, are usually way more descriptive than this

Thanks!
