Integrating a build step into your development flow might just solve this for you rather easily! This could be done using NPM and specifying the SDK as a dependency for the project. The awesome product development team at HS has provided a few JS framework boilerplates that could give ou some ideas!
Another options would be to use the require_js hubl tag to include the JS into your module or layout.
Integrating a build step into your development flow might just solve this for you rather easily! This could be done using NPM and specifying the SDK as a dependency for the project. The awesome product development team at HS has provided a few JS framework boilerplates that could give ou some ideas!
Another options would be to use the require_js hubl tag to include the JS into your module or layout.
How to place a Javascript SDK inside a Hubspot iFrame form?
SOLVE
Hey @Kevin-C . We wanted to do some email validation on the calendar schedule form iframe. How will we be able to inject our script via npm into the form iframe as it is hosted by hubspot? Could you elaborate a bit more on this?