Skip to content

Main Navigation

BDWM

  • Home
  • Random thoughts
  • Portfolio
  • Travel Blog
  • Contact

Gutenberg: custom validation

Posted on March 29, 2020 by Jules

This is a work in progress. The plan is to list all possible validation patterns for custom blocks. At the point of writing it seems like Gutenberg does not provide an out-of-the-box validation mechanism.

  • https://bdwm.be/gutenberg-how-to-make-post-categories-required/

Post navigation

Gutenberg: how to make post categories required?Dynamically populate a Contact Form 7 dropdown list (or any other input field)

Recent posts

  • Contact Form 7: disable client side validation July 13, 2025
  • Set up a staging environment of your WordPress website with Combell July 8, 2025
  • Javascript: one-pager navigation with IntersectionObserver July 28, 2023
  • CSS: change a transparent PNG to any color you want. July 9, 2023
  • Gutenberg / Block editor: Dynamically populate SelectControl, RadioControl or CheckboxControl options November 25, 2022
  • HTML/PHP: Drag and drop upload files October 20, 2022
  • Contact form 7 dynamic values October 13, 2022
  • Contact Form 7 upload field with image preview February 10, 2022
  • PHP: align two arrays by inserting empty spaces September 4, 2021
  • Contact Form 7: hide form after successfully sent, and only display success message. July 17, 2021
Proudly powered by WordPress | Theme: New BDWM Theme (CF7 child) by understrap.com.(Version: 1.0.0)