<!--Marketo form-->
<script src="//pages.hennge.com/js/forms2/js/forms2.min.js" type="text/javascript"></script>
<form id="mktoForm_5719"></form>
<script type="text/javascript">
MktoForms2.loadForm("//pages.hennge.com", "584-TPM-572", 5719, function(form) {
  function getgacid( ) {
    try {
      var tracker = ga.getAll()[0];
      return tracker.get("clientId");
    } catch (e) {
      return "n/a";
    }
  }
  form.vals({
    "pMCF15" : getgacid()
  });
});
</script>
 
<!--qq.com入力阻止用-->
<script>
(function (){
 var invalidDomains = ["@qq.com","qq.com"];
 MktoForms2.whenReady(function (form){
  form.onValidate(function(){
   var email = form.vals().Email;
   if(email){
    if(!isEmailGood(email)) {
     form.submitable(false);
     var emailElem = form.getFormElem().find("#Email");
     form.showErrorMessage("有効なメールアドレスを入力してください", emailElem);
    }else{
     form.submitable(true);
    }
   }
  });
 });
  function isEmailGood(email) {
  for(var i=0; i < invalidDomains.length; i++) {
   var domain = invalidDomains[i];
   if (email.indexOf(domain) != -1) {
    return false;
   }
  }
  return true;
 }
})();
</script>

<!--ST&E(スタンディ)フォームアシスト-->
<link href="https://www.b-story.co.jp/stande/core/stande-1.0.7.css" rel="stylesheet">
<script type="text/javascript" src="https://www.b-story.co.jp/stande/core/stande-1.0.7.js"></script>
<script type="text/javascript" src="https://pages.hennge.com/rs/584-TPM-572/images/stande-1.0.7-qvAr3glhLOheK12.js"></script>

コメント

タイトルとURLをコピーしました