I’m currently setting up collections for my already existing Hugo site. I’m hoping to successfully migrate the CMS from Forestry to Netlify CMS. Everything is nice and straightforward but there’s one thing I can’t figure out. I need a way to display certain widgets within a collection based on the value of another widget within that same collection. I.E “show this widget only if the value of widget X is set to true.”
A use-case example of this is the option to display an image grid on a certain page. I would want the widgets for choosing the images, captions, alt-text etc to only be visible if the editor has chosen to display the image grid. If the show_image_grid widget is set to false, I want to hide the dependent widgets for a more streamlined UI.
I’m using this type of functionality in several places on my site. I want to ensure that the editor won’t see or try to edit fields if they haven’t explicitly enabled those fields to be output in the template upon build.
Is this something I can achieve without creating a custom widget?