Hey @SRalston05,
thanks for the informations.
As you’re using the “Act html element”, I assume you’re using the Act theme and this is a custom module. It should basically be just a rich-text with a few things to render the HTML output directly.
This makes debugging a bit harder, but we’ll get there.
One thing I assume is happening:
Since you’re putting the embed code directly into the HTML module, the scripts are interfering with each other as the scripts of the module are being loaded somewhere in the body instead of the <head> or at the end of the <body> tag. Therefore the request to get the updated form is either being overwriten or not happening at all (would be strange, but who knows).
Have you tried using the default Form module of HubSpot and select the form directly? Just for testing purposes as those can’t be modified in a way how you need it.
This would help understanding if it’s a module, embed code or something else error.
You can also try to use the default Rich-Text module and place your embed code into the source-code view of it. Maybe it’s an Act theme topic.
In terms of the 2 JS scripts in the <head>, have you thought about just using Form events instead of seperate JS? Could help
Last but not least and something many people don’t know (and learn to late):
If you create a DND template, create a page with this template and apply the slightest change to the page in the page editor, HS will create a “non-accessible” clone of the template for this specific page. All further changes to the template won’t be applied to this specific page. Only to the pages that will be created after the template change.
This means that if you have created a page, added something like a text/button or even a comma somewhere, changes to the template won’t be applied to the page.
It’s kinda like a protection layer to prevent a bunch of pages going down the rabit hole if you’re changing the template.
So something I’d try is creating a new page (doesn’t have to be published) after you’ve changed the template
Hope this help
best,
Anton