Hi everyone. I have a custom module, where a form selector is given as an option based on the user selecting 'Form' as the content type for this column. The other options are rich text and image, and both work fine.
However, when I try to output the form, I just get the form object as a string.
{{ column.form }}
returns:
{form_id=01c7695d-bla-bla, response_type=inline, message=Thanks for submitting the form., gotowebinar_webinar_key=null}
in the template. I've also tried the following:
{% set formId = column.form.form_id %}
{% form "my_form" form_to_use='"' + formId + '"' %}
@Craig, @Anton - This could be a bonafied bug in HubSpot. They quietly overnight pushed out major updates to their form code about 3 weeks ago. Try using an embed code and not the module, just to see if you get better results. It might help you narrow down the issue.
I'm getting the same results as @Anton, I created a simple module with a textfield that I can add the form id and then did
{% form form_to_use="{{ module.formid }}" %}
The only difference being that you must have your custom fields grouped because @Craig, you are calling module.form.form_id. It's the only thing i see that stands out.