Hi,
I'm trying to make a contact form which would have one (or more) form fields pre-filled with values from page's frontmatter from which the visitor came to it. I'm not sure if this is understandable, so I'll try to demonstrate that on an example:
page1 with title: green would have a button, that would lead to the form page, when the visitor clicks that button, the form page opens with several contact form fields and some that would somehow get the information from the frontmatter of page1 (for eg. its title - green).
I thought that it would be possible to do quite easily, if twig functioned in the form definitons in yaml, but unfortunately it doesn't work for me.
Is there a way how to do that easily, that I am not able to see?
Thanks in advance!
AB