Inserting a Marketo form in Adobe Edge Animate?
I created an animation within Edge Animate that calls a form at the end of it for a user to submit their info. I've had success calling an iFrame with the form in it, but that doesn't work with Marketo landing pages (I assume it's because Marketo landing pages aren't https and my domain demands it). I want to use the embed script that Marketo provides to avoid the https/http problem, but I'm not sure how to implement it.
I tried adding this code in compositionReady:
sym.$("MarketoFormField").html("<script src='//app-sj19.marketo.com/js/forms2/js/forms2.min.js'></script><form id='mktoForm_1030'></form><script>MktoForms2.loadForm('//app-sj19.marketo.com', '903-ASE-543', 1030);</script>");
but it doesn't work (note that using an iFrame with an https form DOES work).
I am also a self-taught coding person so maybe I got this all wrong.
Any ideas?