Create a free account to get access to additional free training videos. Enjoy this free video from CraftQuest! Create a free account to get access to additional free training videos. Join the Community
Create a better authoring experience with conditional fields in Craft CMS 4.
Conditional fields in Craft is arguable the prominent feature of Craft 4 and the one that we could preface with “finally…”. But it’s here, and it’ll hopefully help you create a better authoring experience in Craft CMS.
Conditional fields could also help you only use Entry Types for the most needed situations but not because you are trying to hide and show fields based on some circumstance. But, of course, entry Types won’t go away. There are still many good reasons to have them, but perhaps you’ll find their need to be less frequent than now and not to create an authoring experience improvement but instead to support a required content model for a project.
We set up conditional fields in the Field Layout for the element type we’re editing. For example, this could be for a section’s entry type field layout or a category group field layout.
What's New in Craft CMS 4 is made up of the following videos: