I have an existing site with a good number of forms that use Freeform, currently coded directly into the templates. I'd like to pull them out of the templates and into low variable fields, then call them to a page either via (a) using a segment or (b) via a field in a channel entry.
Setting up the variable works fine, and if I tick the parse early box and code it directly into the template the form displays great. However, when I try to use a segment variable or channel fieldtype to display it the form tags do not get parsed.
So for example, if I set up a variable called "form-my-page", and code it directly into my template as:
If I try to do something like:
Or if I attempt to use a fieldtype to attach a form to a channel entry, I find I'm unable to use early-parsed variables, and otherwise the form data doesn't get parsed.
I realized that I could use Solspace's new composer and fieldtype, but I don't want to have to redo all my custom forms right now. Thanks for any insight!