templates/zoho/afiliados.html.twig line 1

  1. {% extends 'zoho/base.html.twig' %}
  2. {% block zoho_form %}
  3. {% if app.request.locale == 'es' %}
  4. <!-- Note :
  5.    - You can modify the font style and form style to suit your website. 
  6.    - Code lines with comments ���Do not remove this code���  are required for the form to work properly, make sure that you do not remove these lines of code. 
  7.    - The Mandatory check script can modified as to suit your business needs. 
  8.    - It is important that you test the modified form before going live.-->
  9. <div id='crmWebToEntityForm' >
  10.    <META HTTP-EQUIV ='content-type' CONTENT='text/html;charset=UTF-8'>
  11.    <script src='https://www.google.com/recaptcha/api.js' async defer></script>
  12. <form action='https://crm.zoho.eu/crm/WebToContactForm' name=WebToContacts48971000048189218 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory48971000048189218()' accept-charset='UTF-8'>
  13.  <input type='text' style='display:none;' name='xnQsjsdp' value='60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22f'></input> 
  14.  <input type='hidden' name='zc_gad' id='zc_gad' value=''></input> 
  15.  <input type='text' style='display:none;' name='xmIwtLD' value='835275e621923c54ee40572214c741749b343ff89049dc642caad4d8c4156d1c'></input> 
  16.  <input type='text'  style='display:none;' name='actionType' value='Q29udGFjdHM='></input>
  17.  <input type='text' style='display:none;' name='returnURL' value='https://eurochange.es/gracias' > </input>
  18.      <!-- Do not remove this code. -->
  19.      <input type='text' style='display:none;' id='ldeskuid' name='ldeskuid'></input>
  20.      <input type='text' style='display:none;' id='LDTuvid' name='LDTuvid'></input>
  21.      <!-- Do not remove this code. -->
  22.     <div class="clase_tabla">
  23.     <table class="tabla_agente"><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>Nombre y apellidos<span style='color:red;'>*</span></td><td style='' ><input type='text' style='width:100%;box-sizing:border-box;'  maxlength='80' name='Last Name' /></td></tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>Teléfono<span style='color:red;'>*</span></td><td style='' ><input type='text' style='width:100%;box-sizing:border-box;'  maxlength='50' name='Phone' /></td></tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>Correo electrónico<span style='color:red;'>*</span></td><td style='' ><input type='text' style='width:100%;box-sizing:border-box;'  maxlength='100' name='Email' /></td></tr><tr style='display:none;' ><td style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%'>Afiliado </td><td style='' ><input type='checkbox'  name='CONTACTCF135' checked='true'/> </td></tr><tr style='display:none;' ><td style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%'>Fuente de Lead</td><td style=''>
  24.         <select style='width:100%;box-sizing:border-box;' name='Lead Source'>
  25.             <option value='-None-'>-None-</option>
  26.             <option value='Cambiator'>Cambiator</option>
  27.             <option value='Visita&#x20;web'>Visita web</option>
  28.             <option value='Web'>Web</option>
  29.             <option value='Visita&#x20;comercial'>Visita comercial</option>
  30.             <option value='BBDD'>BBDD</option>
  31.             <option value='RRSS'>RRSS</option>
  32.             <option value='Radio'>Radio</option>
  33.             <option value='Prensa'>Prensa</option>
  34.             <option value='Folletos'>Folletos</option>
  35.             <option value='WhatsApp'>WhatsApp</option>
  36.             <option value='Referido'>Referido</option>
  37.             <option value='Twitter'>Twitter</option>
  38.             <option value='Google&#x2b;'>Google&#x2b;</option>
  39.             <option value='Contactos&#x20;corporativos'>Contactos corporativos</option>
  40.             <option value='Solicitud&#x20;agente'>Solicitud agente</option>
  41.             <option value='Linkedin&#x20;LNB'>Linkedin LNB</option>
  42.         <option selected value='Solicitud&#x20;afiliado'>Solicitud afiliado</option>
  43.             <option value='Solicitud&#x20;anunciante'>Solicitud anunciante</option>
  44.         </select></td></tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>Sobre ti<span style='color:red;'>*</span> <span title='Cu&eacute;ntanos sobre tu empresa, cu&aacute;l es tu sitio web o tu blog,... ay&uacute;danos a conocerte m&aacute;s' style='cursor: pointer; width: 16px; height: 16px; display: inline-block; background: #fff; border: 1px solid #ccc; color: #ccc; text-align: center; font-size: 11px; line-height: 16px; font-weight: bold; border-radius: 50%; vertical-align: middle;'>?</span></td><td style=''> <textarea name='Description' maxlength='32000' style='width:100%;'>&nbsp;</textarea></td><tr><td></td><td><div class='g-recaptcha' data-sitekey='6LfQhLIZAAAAAFzE4unFH81UrzzRBo4WDewGwrst' data-theme='light' data-callback='rccallback' captcha-verified='false' id='recap'></div></td><td></td></tr><tr><td></td><td><div class='dIB vat mT2' align='left' style='color: rgb(0, 0, 0); font-size: 12px; font-family: sans-serif;display: inline-block;vertical-align: top;'><div class='displayPurpose  f13'><label class='newCustomchkbox-md dIB w100per'><input autocomplete='off' onclick='disableSubmit()' id='privacyTool' type='checkbox' name='privacyTool'><span class='chkbxIcon'></span></label></div></div><div class='fw200 dIB vat mL5' style='nowrap:nowrap;text-align:left;font-size:12px;font-family:Arial;vertical-align: top;margin-top: 3px;line-height: 14px;width:90%;display: inline-block;color:black'>Acepto la <a href='https://eurochange.es/politica-de-privacidad' title='https://eurochange.es/politica-de-privacidad' target='_blank'>Política de privacidad</a>.</div>
  45.     <tr><td colspan='2' style='text-align:center; padding-top:15px;font-size:12px;'>
  46.         <input style='opacity:0.5;margin-right: 5px;cursor: pointer;font-size:12px;color:#000000' id='formsubmit' disabled type='submit' value='Enviar' disabled ></input> {#<input onclick='disableSubmitwhileReset()' type='reset' name='reset' style='cursor: pointer;font-size:12px;color:#000000' value='Restablecer' ></input>#} </td></tr></table></div>
  47.     <script>
  48.        var mndFileds=new Array('Last Name','Email','Phone','Description');
  49.        var fldLangVal=new Array('Nombre y apellidos','Correo electrónico','Teléfono','Sobre ti'); 
  50.         var name='';
  51.         var email=''; 
  52.   
  53. function disableSubmitwhileReset()
  54.     {        
  55.     var submitbutton = document.getElementById('formsubmit');
  56.    var style = submitbutton.getAttribute('style');
  57.    if (style.indexOf('opacity:0.5')<0) {
  58.    style='opacity:0.5;'+style;
  59.     }
  60.      if(document.getElementById('privacyTool')!=undefined || document.getElementById('consentTool')!=undefined)
  61.     {
  62.         submitbutton.setAttribute('disabled', true);
  63.     submitbutton.setAttribute('style',style);
  64.  }
  65.     else
  66.     {
  67.         submitbutton.removeAttribute('disabled');
  68.     }
  69. function disableSubmit()
  70.     {        
  71.     var isprivacyToolAvail = false;
  72.     var isconsentToolAvail = false;
  73.     var bothtoolAvail = false;
  74.     var privacytool='';
  75.     var consenttool='';
  76.     var submitbutton = document.getElementById('formsubmit');
  77.     var style=style1 = submitbutton.getAttribute('style');
  78.    style=style.replace('opacity:0.5;','');
  79.    if (style1.indexOf('opacity:0.5')<0) {
  80.     style1=style1.concat(';opacity:0.5;'); 
  81.   }
  82.    if(document.getElementById('privacyTool')!=undefined && document.getElementById('consentTool')!=undefined)
  83.     {
  84.             isprivacyToolAvail=true;
  85.             privacytool = document.getElementById('privacyTool');
  86.             isconsentToolAvail=true;
  87.             consenttool=document.getElementById('consentTool');
  88.             bothtoolAvail=true;
  89.     }
  90.     if(document.getElementById('privacyTool')!=undefined)
  91.     {
  92.             isprivacyToolAvail=true;
  93.             privacytool = document.getElementById('privacyTool');
  94.     }
  95.     if(document.getElementById('consentTool')!=undefined)
  96.     {
  97.             isconsentToolAvail=true;
  98.             consenttool=document.getElementById('consentTool');
  99.     }
  100.     if(submitbutton.hasAttribute('disabled') && bothtoolAvail && consenttool.checked && privacytool.checked)
  101.     {
  102.             submitbutton.removeAttribute('disabled');
  103.     submitbutton.setAttribute('style',style);}
  104.     else if(submitbutton.hasAttribute('disabled') && isprivacyToolAvail && privacytool.checked && consenttool=='')
  105.     {
  106.             submitbutton.removeAttribute('disabled');
  107.     submitbutton.setAttribute('style',style);}
  108.     else if(submitbutton.hasAttribute('disabled') && isconsentToolAvail && consenttool.checked && privacytool=='')
  109.     {
  110.             submitbutton.removeAttribute('disabled');
  111. submitbutton.setAttribute('style',style);
  112.     }
  113.     else
  114.     {
  115.             submitbutton.setAttribute('disabled', true);
  116.     submitbutton.setAttribute('style',style1);}
  117.     checkReCapSubmit();
  118.     }
  119.   /* Do not remove this code. */
  120.        function rccallback() {
  121.          document.getElementById('formsubmit').removeAttribute('disabled');
  122.     if(document.getElementById('privacyTool')!=undefined){ 
  123.      var recap = document.getElementById('recap');
  124.      recap.setAttribute('captcha-verified',true);
  125.     if(!document.getElementById('privacyTool').checked){
  126.     document.getElementById('formsubmit').setAttribute('disabled', true);
  127.     }
  128.       }
  129.       }
  130.       function checkReCapSubmit() { 
  131.      if(document.getElementById('recap') != undefined){ 
  132.      var submitbutton = document.getElementById('formsubmit');
  133.       var recap = document.getElementById('recap');
  134.     if( recap.getAttribute('captcha-verified') == 'false'){
  135.     submitbutton.setAttribute('disabled', true);
  136.     }
  137.      }
  138.      } 
  139.        function checkMandatory48971000048189218() {
  140.         for(i=0;i<mndFileds.length;i++) {
  141.           var fieldObj=document.forms['WebToContacts48971000048189218'][mndFileds[i]];
  142.           if(fieldObj) {
  143.             if (((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0) {
  144.              if(fieldObj.type =='file')
  145.                 { 
  146.                  alert('Seleccione un archivo para cargar.'); 
  147.                  fieldObj.focus(); 
  148.                  return false;
  149.                 } 
  150.             alert(fldLangVal[i] +' no puede estar vacío.'); 
  151.                       fieldObj.focus();
  152.                       return false;
  153.             }  else if(fieldObj.nodeName=='SELECT') {
  154.                      if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') {
  155.                 alert(fldLangVal[i] +' no puede ser nulo.'); 
  156.                 fieldObj.focus();
  157.                 return false;
  158.                }
  159.             } else if(fieldObj.type =='checkbox'){
  160.                 if(fieldObj.checked == false){
  161.                 alert('Please accept  '+fldLangVal[i]);
  162.                 fieldObj.focus();
  163.                 return false;
  164.                } 
  165.              } 
  166.              try {
  167.                  if(fieldObj.name == 'Last Name') {
  168.                 name = fieldObj.value;
  169.                    }
  170.             } catch (e) {}
  171.             }
  172.         }
  173.         trackVisitor();
  174.         document.getElementById('formsubmit').disabled=true;
  175.     }
  176. </script><script type='text/javascript' id='VisitorTracking'>var $zoho= $zoho || {};$zoho.salesiq = $zoho.salesiq || {widgetcode:'530e4123a2f7ee8756aaf29348de53a3e8ee506ed8be641ac2c84cfa42f761b6cbabfa81e68d3087b5ffe4610eece8a0', values:{},ready:function(){}};var d=document;s=d.createElement('script');s.type='text/javascript';s.id='zsiqscript';s.defer=true;s.src='https://salesiq.zoho.eu/widget';t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);function trackVisitor(){try{if($zoho){var LDTuvidObj = document.forms['WebToContacts48971000048189218']['LDTuvid'];if(LDTuvidObj){LDTuvidObj.value = $zoho.salesiq.visitor.uniqueid();}var firstnameObj = document.forms['WebToContacts48971000048189218']['First Name'];if(firstnameObj){name = firstnameObj.value +' '+name;}$zoho.salesiq.visitor.name(name);var emailObj = document.forms['WebToContacts48971000048189218']['Email'];if(emailObj){email = emailObj.value;$zoho.salesiq.visitor.email(email);}}} catch(e){}}</script>
  177.     <input type='hidden' name='eo' value='c4408f450319003e0c12e54df63a8632'/> <input type='hidden' name='te' value='true'/><img id='tr_img_835275e621923c54ee40572214c741749b343ff89049dc642caad4d8c4156d1c' src='https://crm.zohopublic.eu/crm/WebFormAnalyticsServlet?rid=835275e621923c54ee40572214c741749b343ff89049dc642caad4d8c4156d1cgid60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22fgid7a7d7e1dfa94aae15e0c6a222eb6deabgidea93f4322d46ee698fe0c65bddf10eabbc5de3875e0e613a51d77e7d4100e249gidc4408f450319003e0c12e54df63a8632' style='display: none;' /> <script> if(typeof wfTRKey=='undefined'){wfTRKey = {};}wfTRKey['url_835275e621923c54ee40572214c741749b343ff89049dc642caad4d8c4156d1c']='https://crm.zohopublic.eu/crm/WebFormAnalyticsServlet?rid=835275e621923c54ee40572214c741749b343ff89049dc642caad4d8c4156d1cgid60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22fgid8971390206e3d92717a1f4ef83ddc81fgidea93f4322d46ee698fe0c65bddf10eabbc5de3875e0e613a51d77e7d4100e249gidc4408f450319003e0c12e54df63a8632';wfTRKey['rs_835275e621923c54ee40572214c741749b343ff89049dc642caad4d8c4156d1c']=false; function sf(ev){var te = ev.target ? ev.target : ev.srcElement; var nd = te.nodeName ? te.nodeName.toLowerCase() : ''; var fm; if (te.form) { fm = te.form.elements.xmIwtLD.value; } if (fm && !wfTRKey['rs_' + fm] && ((nd == 'input' && te.type != 'file') || (nd == 'input' && te.type == 'file' && ev.type == 'click') || nd == 'select' || nd == 'textarea' || nd == 'div')) { document.getElementById('tr_img_'+fm).setAttribute('src', wfTRKey['url_'+fm]);  wfTRKey['rs_'+fm] = true }} if(document.addEventListener){document.addEventListener('click', sf);document.addEventListener('change', sf);}else{document.attachEvent('onclick', sf);document.attachEvent('onchange', sf);}</script></form>
  178. </div>
  179.     
  180. {% else %}
  181. <!-- Note :
  182.    - You can modify the font style and form style to suit your website. 
  183.    - Code lines with comments ���Do not remove this code���  are required for the form to work properly, make sure that you do not remove these lines of code. 
  184.    - The Mandatory check script can modified as to suit your business needs. 
  185.    - It is important that you test the modified form before going live.-->
  186. <div id='crmWebToEntityForm' >
  187.    <META HTTP-EQUIV ='content-type' CONTENT='text/html;charset=UTF-8'>
  188.    <script src='https://www.google.com/recaptcha/api.js' async defer></script>
  189. <form action='https://crm.zoho.eu/crm/WebToContactForm' name=WebToContacts48971000048189231 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory48971000048189231()' accept-charset='UTF-8'>
  190.  <input type='text' style='display:none;' name='xnQsjsdp' value='60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22f'></input> 
  191.  <input type='hidden' name='zc_gad' id='zc_gad' value=''></input> 
  192.  <input type='text' style='display:none;' name='xmIwtLD' value='835275e621923c54ee40572214c7417410dab4aa6943a86b93c37345e1e4a05f'></input> 
  193.  <input type='text'  style='display:none;' name='actionType' value='Q29udGFjdHM='></input>
  194.  <input type='text' style='display:none;' name='returnURL' value='https://eurochange.es/en/thank-you' > </input>
  195.      <!-- Do not remove this code. -->
  196.      <input type='text' style='display:none;' id='ldeskuid' name='ldeskuid'></input>
  197.      <input type='text' style='display:none;' id='LDTuvid' name='LDTuvid'></input>
  198.      <!-- Do not remove this code. -->
  199.     <div class="clase_tabla">
  200.     <table class="tabla_agente"><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>Name and surname<span style='color:red;'>*</span></td><td style='' ><input type='text' style='width:100%;box-sizing:border-box;'  maxlength='80' name='Last Name' /></td></tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>Telephone number<span style='color:red;'>*</span></td><td style='' ><input type='text' style='width:100%;box-sizing:border-box;'  maxlength='50' name='Phone' /></td></tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>Email<span style='color:red;'>*</span></td><td style='' ><input type='text' style='width:100%;box-sizing:border-box;'  maxlength='100' name='Email' /></td></tr><tr style='display:none;' ><td style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%'>Afiliado </td><td style='' ><input type='checkbox'  name='CONTACTCF135' checked='true'/> </td></tr><tr style='display:none;' ><td style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%'>Fuente de Lead</td><td style=''>
  201.         <select style='width:100%;box-sizing:border-box;' name='Lead Source'>
  202.             <option value='-None-'>-None-</option>
  203.             <option value='Cambiator'>Cambiator</option>
  204.             <option value='Visita&#x20;web'>Visita web</option>
  205.             <option value='Web'>Web</option>
  206.             <option value='Visita&#x20;comercial'>Visita comercial</option>
  207.             <option value='BBDD'>BBDD</option>
  208.             <option value='RRSS'>RRSS</option>
  209.             <option value='Radio'>Radio</option>
  210.             <option value='Prensa'>Prensa</option>
  211.             <option value='Folletos'>Folletos</option>
  212.             <option value='WhatsApp'>WhatsApp</option>
  213.             <option value='Referido'>Referido</option>
  214.             <option value='Twitter'>Twitter</option>
  215.             <option value='Google&#x2b;'>Google&#x2b;</option>
  216.             <option value='Contactos&#x20;corporativos'>Contactos corporativos</option>
  217.             <option value='Solicitud&#x20;agente'>Solicitud agente</option>
  218.             <option value='Linkedin&#x20;LNB'>Linkedin LNB</option>
  219.         <option selected value='Solicitud&#x20;afiliado'>Solicitud afiliado</option>
  220.             <option value='Solicitud&#x20;anunciante'>Solicitud anunciante</option>
  221.         </select></td></tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%;'>About you<span style='color:red;'>*</span> <span title='Tell us a bit more about your business, your website or blog,... help us to know you a bit more.' style='cursor: pointer; width: 16px; height: 16px; display: inline-block; background: #fff; border: 1px solid #ccc; color: #ccc; text-align: center; font-size: 11px; line-height: 16px; font-weight: bold; border-radius: 50%; vertical-align: middle;'>?</span></td><td style=''> <textarea name='Description' maxlength='32000' style='width:100%;'>&nbsp;</textarea></td><tr><td></td><td><div class='g-recaptcha' data-sitekey='6LfQhLIZAAAAAFzE4unFH81UrzzRBo4WDewGwrst' data-theme='light' data-callback='rccallback' captcha-verified='false' id='recap'></div></td><td></td></tr><tr><td colspan='2'><div class='dIB vat mT2' align='left' style='color: rgb(0, 0, 0); font-size: 12px; font-family: sans-serif;display: inline-block;vertical-align: top;'><div class='displayPurpose  f13'><label class='newCustomchkbox-md dIB w100per'><input autocomplete='off' onclick='disableSubmit()' id='privacyTool' type='checkbox' name='privacyTool'><span class='chkbxIcon'></span></label></div></div><div class='fw200 dIB vat mL5' style='nowrap:nowrap;text-align:left;font-size:12px;font-family:Arial;vertical-align: top;margin-top: 3px;line-height: 14px;width:90%;display: inline-block;color:black'>I accept the <a href='https://eurochange.es/en/privacy-policy' title='https://eurochange.es/en/privacy-policy' target='_blank'>Privacy Policy</a>.</div>
  222.     <tr><td colspan='2' style='text-align:center; padding-top:15px;font-size:12px;'>
  223.         <input style='opacity:0.5;margin-right: 5px;cursor: pointer;font-size:12px;color:#000000' id='formsubmit' disabled type='submit' value='Send ' disabled ></input> {#<input onclick='disableSubmitwhileReset()' type='reset' name='reset' style='cursor: pointer;font-size:12px;color:#000000' value='Restore' ></input>#} </td></tr></table></div>
  224.     <script>
  225.        var mndFileds=new Array('Last Name','Email','Phone','Description');
  226.        var fldLangVal=new Array('Name and surname','Email','Telephone number','About you'); 
  227.         var name='';
  228.         var email=''; 
  229.   
  230. function disableSubmitwhileReset()
  231.     {        
  232.     var submitbutton = document.getElementById('formsubmit');
  233.    var style = submitbutton.getAttribute('style');
  234.    if (style.indexOf('opacity:0.5')<0) {
  235.    style='opacity:0.5;'+style;
  236.     }
  237.      if(document.getElementById('privacyTool')!=undefined || document.getElementById('consentTool')!=undefined)
  238.     {
  239.         submitbutton.setAttribute('disabled', true);
  240.     submitbutton.setAttribute('style',style);
  241.  }
  242.     else
  243.     {
  244.         submitbutton.removeAttribute('disabled');
  245.     }
  246. function disableSubmit()
  247.     {        
  248.     var isprivacyToolAvail = false;
  249.     var isconsentToolAvail = false;
  250.     var bothtoolAvail = false;
  251.     var privacytool='';
  252.     var consenttool='';
  253.     var submitbutton = document.getElementById('formsubmit');
  254.     var style=style1 = submitbutton.getAttribute('style');
  255.    style=style.replace('opacity:0.5;','');
  256.    if (style1.indexOf('opacity:0.5')<0) {
  257.     style1=style1.concat(';opacity:0.5;'); 
  258.   }
  259.    if(document.getElementById('privacyTool')!=undefined && document.getElementById('consentTool')!=undefined)
  260.     {
  261.             isprivacyToolAvail=true;
  262.             privacytool = document.getElementById('privacyTool');
  263.             isconsentToolAvail=true;
  264.             consenttool=document.getElementById('consentTool');
  265.             bothtoolAvail=true;
  266.     }
  267.     if(document.getElementById('privacyTool')!=undefined)
  268.     {
  269.             isprivacyToolAvail=true;
  270.             privacytool = document.getElementById('privacyTool');
  271.     }
  272.     if(document.getElementById('consentTool')!=undefined)
  273.     {
  274.             isconsentToolAvail=true;
  275.             consenttool=document.getElementById('consentTool');
  276.     }
  277.     if(submitbutton.hasAttribute('disabled') && bothtoolAvail && consenttool.checked && privacytool.checked)
  278.     {
  279.             submitbutton.removeAttribute('disabled');
  280.     submitbutton.setAttribute('style',style);}
  281.     else if(submitbutton.hasAttribute('disabled') && isprivacyToolAvail && privacytool.checked && consenttool=='')
  282.     {
  283.             submitbutton.removeAttribute('disabled');
  284.     submitbutton.setAttribute('style',style);}
  285.     else if(submitbutton.hasAttribute('disabled') && isconsentToolAvail && consenttool.checked && privacytool=='')
  286.     {
  287.             submitbutton.removeAttribute('disabled');
  288. submitbutton.setAttribute('style',style);
  289.     }
  290.     else
  291.     {
  292.             submitbutton.setAttribute('disabled', true);
  293.     submitbutton.setAttribute('style',style1);}
  294.     checkReCapSubmit();
  295.     }
  296.   /* Do not remove this code. */
  297.        function rccallback() {
  298.          document.getElementById('formsubmit').removeAttribute('disabled');
  299.     if(document.getElementById('privacyTool')!=undefined){ 
  300.      var recap = document.getElementById('recap');
  301.      recap.setAttribute('captcha-verified',true);
  302.     if(!document.getElementById('privacyTool').checked){
  303.     document.getElementById('formsubmit').setAttribute('disabled', true);
  304.     }
  305.       }
  306.       }
  307.       function checkReCapSubmit() { 
  308.      if(document.getElementById('recap') != undefined){ 
  309.      var submitbutton = document.getElementById('formsubmit');
  310.       var recap = document.getElementById('recap');
  311.     if( recap.getAttribute('captcha-verified') == 'false'){
  312.     submitbutton.setAttribute('disabled', true);
  313.     }
  314.      }
  315.      } 
  316.        function checkMandatory48971000048189231() {
  317.         for(i=0;i<mndFileds.length;i++) {
  318.           var fieldObj=document.forms['WebToContacts48971000048189231'][mndFileds[i]];
  319.           if(fieldObj) {
  320.             if (((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0) {
  321.              if(fieldObj.type =='file')
  322.                 { 
  323.                  alert('Seleccione un archivo para cargar.'); 
  324.                  fieldObj.focus(); 
  325.                  return false;
  326.                 } 
  327.             alert(fldLangVal[i] +' no puede estar vacío.'); 
  328.                       fieldObj.focus();
  329.                       return false;
  330.             }  else if(fieldObj.nodeName=='SELECT') {
  331.                      if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') {
  332.                 alert(fldLangVal[i] +' no puede ser nulo.'); 
  333.                 fieldObj.focus();
  334.                 return false;
  335.                }
  336.             } else if(fieldObj.type =='checkbox'){
  337.                 if(fieldObj.checked == false){
  338.                 alert('Please accept  '+fldLangVal[i]);
  339.                 fieldObj.focus();
  340.                 return false;
  341.                } 
  342.              } 
  343.              try {
  344.                  if(fieldObj.name == 'Last Name') {
  345.                 name = fieldObj.value;
  346.                    }
  347.             } catch (e) {}
  348.             }
  349.         }
  350.         trackVisitor();
  351.         document.getElementById('formsubmit').disabled=true;
  352.     }
  353. </script><script type='text/javascript' id='VisitorTracking'>var $zoho= $zoho || {};$zoho.salesiq = $zoho.salesiq || {widgetcode:'530e4123a2f7ee8756aaf29348de53a3e8ee506ed8be641ac2c84cfa42f761b6cbabfa81e68d3087b5ffe4610eece8a0', values:{},ready:function(){}};var d=document;s=d.createElement('script');s.type='text/javascript';s.id='zsiqscript';s.defer=true;s.src='https://salesiq.zoho.eu/widget';t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);function trackVisitor(){try{if($zoho){var LDTuvidObj = document.forms['WebToContacts48971000048189231']['LDTuvid'];if(LDTuvidObj){LDTuvidObj.value = $zoho.salesiq.visitor.uniqueid();}var firstnameObj = document.forms['WebToContacts48971000048189231']['First Name'];if(firstnameObj){name = firstnameObj.value +' '+name;}$zoho.salesiq.visitor.name(name);var emailObj = document.forms['WebToContacts48971000048189231']['Email'];if(emailObj){email = emailObj.value;$zoho.salesiq.visitor.email(email);}}} catch(e){}}</script>
  354.     <input type='hidden' name='eo' value='c4408f450319003e0c12e54df63a8632'/> <input type='hidden' name='te' value='true'/><img id='tr_img_835275e621923c54ee40572214c7417410dab4aa6943a86b93c37345e1e4a05f' src='https://crm.zohopublic.eu/crm/WebFormAnalyticsServlet?rid=835275e621923c54ee40572214c7417410dab4aa6943a86b93c37345e1e4a05fgid60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22fgid7a7d7e1dfa94aae15e0c6a222eb6deabgidea93f4322d46ee698fe0c65bddf10eabbc5de3875e0e613a51d77e7d4100e249gidc4408f450319003e0c12e54df63a8632' style='display: none;' /> <script> if(typeof wfTRKey=='undefined'){wfTRKey = {};}wfTRKey['url_835275e621923c54ee40572214c7417410dab4aa6943a86b93c37345e1e4a05f']='https://crm.zohopublic.eu/crm/WebFormAnalyticsServlet?rid=835275e621923c54ee40572214c7417410dab4aa6943a86b93c37345e1e4a05fgid60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22fgid8971390206e3d92717a1f4ef83ddc81fgidea93f4322d46ee698fe0c65bddf10eabbc5de3875e0e613a51d77e7d4100e249gidc4408f450319003e0c12e54df63a8632';wfTRKey['rs_835275e621923c54ee40572214c7417410dab4aa6943a86b93c37345e1e4a05f']=false; function sf(ev){var te = ev.target ? ev.target : ev.srcElement; var nd = te.nodeName ? te.nodeName.toLowerCase() : ''; var fm; if (te.form) { fm = te.form.elements.xmIwtLD.value; } if (fm && !wfTRKey['rs_' + fm] && ((nd == 'input' && te.type != 'file') || (nd == 'input' && te.type == 'file' && ev.type == 'click') || nd == 'select' || nd == 'textarea' || nd == 'div')) { document.getElementById('tr_img_'+fm).setAttribute('src', wfTRKey['url_'+fm]);  wfTRKey['rs_'+fm] = true }} if(document.addEventListener){document.addEventListener('click', sf);document.addEventListener('change', sf);}else{document.attachEvent('onclick', sf);document.attachEvent('onchange', sf);}</script></form>
  355. </div>
  356. {% endif %} 
  357. {% endblock zoho_form %}