# Required field on block blueprint (image) not shows as invalid

**URL:** <https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793>\
**Category:** Questions\
**Tags:** v3\
**Created:** [February 21, 2022, 5:06pm UTC](https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793 "2022-02-21T17:06:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![teichsta](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/teichsta/32/10766_2.png) [@teichsta](https://forum.getkirby.com/u/teichsta)\
**Post date:** [February 21, 2022, 5:06pm UTC](https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793/1 "2022-02-21T17:06:24Z")

</div>

Hi,

i am using kirby 3.6.2. The empty required text field is not marked as invalid, see

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/c/cbe330add4ce4679634624940835bc35164ddc68.png)

However when changing the pages’ state the expected error is shown:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/6/6e758ca312175fe29b580315fbda83be099ab8c7.png)

Any hints on how i could debug/fix this? Any special CSS i could set?

Thanks in advance,

Thomas E.-E.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 21, 2022, 5:11pm UTC](https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793/2 "2022-02-21T17:11:01Z")

</div>

Kirby doesn’t validate content (required fields and other validators) while in draft state.

---

<div class="post-metadata">

**Author:** ![teichsta](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/teichsta/32/10766_2.png) [@teichsta](https://forum.getkirby.com/u/teichsta)\
**Post date:** [February 21, 2022, 5:26pm UTC](https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793/3 "2022-02-21T17:26:42Z")

</div>

Thanks for your quick answer @texnixe. Sorry if i might have used the wrong term. What i meant is the red-ish border around an empty (text) field which works on the page blueprint:

![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/6/627934f62b7de6bfa2c451b4a7afa6e713ed9741.png)

but does not work on the block blueprint (on drawer):

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/0/03668033973865a2803f7b0aa0cecfabae074b38.png)

But it doesn’t seem to be related with 3.6.2 as the above screenshet has been taken from my 3.5.7 installation.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 21, 2022, 7:51pm UTC](https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793/4 "2022-02-21T19:51:22Z")

</div>

Yes, I can reproduce this issues… Some field types show a red border like in your screenshot, e.g. a files field or a select field, most don’t. Could you create an issue on GitHub, please?

---

<div class="post-metadata">

**Author:** ![teichsta](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/teichsta/32/10766_2.png) [@teichsta](https://forum.getkirby.com/u/teichsta)\
**Post date:** [February 22, 2022, 10:05am UTC](https://forum.getkirby.com/t/required-field-on-block-blueprint-image-not-shows-as-invalid/24793/5 "2022-02-22T10:05:13Z")

</div>

done: [Required fields on blocks blueprint without red border (visual highlight) · Issue #4171 · getkirby/kirby · GitHub](https://github.com/getkirby/kirby/issues/4171)
