I have a website that offers workshops with varying topics and dates. I would like each listing to have a quick sign up/show interest form underneath, just one input for an email address and a submit button. I can write this form in the page header in expert mode of course, but I have all the information I need saved in various other fields already.
So I wonder if there’s a way to generate this form automatically for each workshop. Just writing the thing in twig is easy, of course, but I don’t know how to hook that up to the forms plugin. Can that be done?
The other option I see is to write a plugin that adds the yaml in the header whenever the page is saved. Doable, but I hope there’s a neater way.
Thank you for your time and ideas!