Embed Marketo Form Mannualy #Marketo
<script src="//app-xyz.marketo.com/js/forms2/js/forms2.js"></script>
<form id="mktoForm_621"></form>
<script>
MktoForms2.loadForm("//app-xyz.marketo.com", "718-GIV-198", 621);
MktoForms2.whenReady(function (form) {
    // Put your code that uses the form object here
});
</script>
Disable Personal email when submitting Form #Marketo

# HTML / HEAD

<meta class="mktoBoolean" id="DisablePersonalEmails" mktoName="Disable Personal Emails" default="true" false_value="false" true_value="true" false_value_name="false" true_value_name="true">

# HTML / ON DOM/FORM READY

var allow = ${DisablePersonalEmails};
if (allow == 'true') {
  $('.mktoButton').click(function(){ 
    var email = $('#Email').val();
    var reg = /^([\w-\.]+@(?!gmail.com)(?!yahoo.com)(?!hotmail.com)(?!yahoo.co.in)(?!aol.com)(?!abc.com)(?!xyz.com)(?!pqr.com)(?!rediffmail.com)(?!live.com)(?!outlook.com)(?!me.com)(?!msn.com)(?!ymail.com)([\w-]+\.)+[\w-]{2,4})?$/;
    if (reg.test(email)){
      return 0;
    } else {
      var emailElem = form.getFormElem().find("#Email"); // Show Error Message below Email input field
      form.showErrorMessage("Error. It must be businesss email.", emailElem);
      return false;
    }
  });
}

No more items to load