<html>
<head></head>
<body>
<form id="mktoForm_1001"></form>
<div id="result"></div>
</body>
<script src="//app-sn04.marketo.com/js/forms2/js/forms2.min.js"></script>
<script src="//go.cliftons.com/js/forms2/js/forms2.min.js"></script>
<script>
MktoForms2.loadForm(
"//go.cliftons.com",
"**********",
1001,
function (form) {
// Add an onSuccess callback function to the form
form.onSuccess(function (values, followUpUrl) {
// Hide the form
form.getFormElem().hide();
// Show a success message
document.getElementById("result").innerHTML =
"Thank you for your submission!";
return false;
});
}
);
</script>
</html>
Please fix those 2 fundamental errors and then link to a page that we can see. You should be using the standard embed code from Marketo. This non-standard setup (with invalid HTML) is a poor place to start!