Start of Main Content
MktoForms2.loadForm(“//app-ab00.marketo.com”, “785-UHP-775”, 1057, function (form) { 2 // Set the value of the Phone and Country fields 3 form.vals({moCustomFormValue”:”https://intranet.definitivehc.com/main/”, “mo_CustomFormValue”:”Blah” }); 4 //Add an onSuccess handler 5 form.onSuccess(function (values, followUpUrl) { 6 // Take the lead to a different page on successful submit, ignoring the form’s configured followUpUrl 7 location.href = “https://www.definitivehc.com/resources”; 8 // Return false to prevent the submission handler continuing with its own processing 9 return false; 10 }); 11});