I'm trying to develop a workaround for a site but I'm not sure if it's viable or not at this point and currently what I have doesn;t seem to be working.
We were hoping to put a form ID's into href attirbutes within a certain string which would then be used to inject the HubSpot form e.g. (<a href="#hs-embed:FORMIDHERE">)
The jquery would find these hrefs and take the relevant form ID and inject the embed code after the link. e.g.
The issue I'm having is the form is currnetly not rendering, even if I just palce the ID as is copied from embed code for testing purposes. The onFormReady is outputting the console.log just no form fields are appearing.