Test External Form
MktoForms2.loadForm("//084-XPW-627.mktoweb.com", "084-XPW-627, 2080);
MktoForms2.whenReady(function(mktoForm){
var htmlForm = document.querySelector("#AHtmlForm");
htmlForm.addEventListener("submit",function(e){
myForm.addHiddenFields({
//These are the values which will be submitted to Marketo
"Email":"test@example.com",
"FirstName":"John",
"LastName":"Doe"
}); mktoForm.submit(); e.preventDefault();
});
});
MORE FROM THIS COLLECTION