templates/zoho/ser_agente.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' style='margin:auto;'>
  10.    <META HTTP-EQUIV ='content-type' CONTENT='text/html;charset=UTF-8'>
  11.    <form id="crmWebToEntityForm" action='https://crm.zoho.eu/crm/WebToContactForm' name=WebToContacts48971000042375039 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory48971000042375039()' accept-charset='UTF-8'>
  12.  <input type='text' style='display:none;' name='xnQsjsdp' value='60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22f'></input>
  13.  <input type='hidden' name='zc_gad' id='zc_gad' value=''></input>
  14.  <input type='text' style='display:none;' name='xmIwtLD' value='835275e621923c54ee40572214c7417426e430344b5fc705105b94daf0396c30'></input>
  15.  <input type='text'  style='display:none;' name='actionType' value='Q29udGFjdHM='></input>
  16.  <input type='text' style='display:none;' name='returnURL' value='https://eurochange.es/ser-agente' > </input>
  17.      <!-- Do not remove this code. -->
  18.      <input type='text' style='display:none;' id='ldeskuid' name='ldeskuid'></input>
  19.      <input type='text' style='display:none;' id='LDTuvid' name='LDTuvid'></input>
  20.      <!-- Do not remove this code. -->
  21.     <div class="clase_tabla"><table class="tabla_agente">
  22. <tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Nombre y apellidos<span style='color:red;'>*</span></td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='80' name='Last Name' /></td>
  23. </tr>
  24. <tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Teléfono<span style='color:red;'>*</span></td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='50' name='Phone' /></td> </tr>
  25. <tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Correo electr&oacute;nico</td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='100' name='Email' /></td> </tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Dirección<span style='color:red;'>*</span></td>
  26. <td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='255' name='CONTACTCF42' /></td> </tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Población<span style='color:red;'>*</span></td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='255' name='CONTACTCF16' /></td> </tr>
  27. <tr style='display:none;' ><td style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%'>Idioma</td><td style='width:40%;'>
  28.         <select style='width:100%;box-sizing:border-box;' name='CONTACTCF30'>
  29.             <option value='-None-'>-None-</option>
  30.         <option selected value='Espa&ntilde;ol'>Espa&ntilde;ol</option>
  31.             <option value='Ingl&eacute;s'>Ingl&eacute;s</option>
  32.             <option value='ENU'>ENU</option>
  33.             <option value='ESP'>ESP</option>
  34.             <option value='SPA'>SPA</option>
  35.         </select></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='width:40%;'>
  36.         <select style='width:100%;box-sizing:border-box;' name='Lead Source'>
  37.             <option value='-None-'>-None-</option>
  38.             <option value='Cambiator'>Cambiator</option>
  39.             <option value='Visita&#x20;web'>Visita web</option>
  40.             <option value='Web'>Web</option>
  41.             <option value='Visita&#x20;comercial'>Visita comercial</option>
  42.             <option value='BBDD'>BBDD</option>
  43.             <option value='RRSS'>RRSS</option>
  44.             <option value='Radio'>Radio</option>
  45.             <option value='Prensa'>Prensa</option>
  46.             <option value='Folletos'>Folletos</option>
  47.             <option value='WhatsApp'>WhatsApp</option>
  48.             <option value='Referido'>Referido</option>
  49.             <option value='Twitter'>Twitter</option>
  50.             <option value='Google&#x2b;'>Google&#x2b;</option>
  51.             <option value='Contactos&#x20;corporativos'>Contactos corporativos</option>
  52.         <option selected value='Solicitud&#x20;agente'>Solicitud agente</option>
  53.         </select></td> </tr>
  54.     <tr><td colspan='2' style='text-align:center; padding-top:15px;font-size:12px;'>
  55.         <input id='formsubmit' type='submit' value='Enviar'  ></input> {#<input class="resetAgente" type='reset' name='reset'  value='Restablecer' ></input>#} </td></tr></table></div>
  56.     <script>
  57.        var mndFileds=new Array('Last Name','Phone','CONTACTCF42','CONTACTCF16');
  58.        var fldLangVal=new Array('Nombre y apellidos','Teléfono','Dirección','Población');
  59.         var name='';
  60.         var email='';
  61.        function checkMandatory48971000042375039() {
  62.         for(i=0;i<mndFileds.length;i++) {
  63.           var fieldObj=document.forms['WebToContacts48971000042375039'][mndFileds[i]];
  64.           if(fieldObj) {
  65.             if (((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0) {
  66.              if(fieldObj.type =='file')
  67.                 {
  68.                  alert('Seleccione un archivo para cargar.');
  69.                  fieldObj.focus();
  70.                  return false;
  71.                 }
  72.             alert(fldLangVal[i] +' no puede estar vacío.');
  73.                       fieldObj.focus();
  74.                       return false;
  75.             }  else if(fieldObj.nodeName=='SELECT') {
  76.                      if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') {
  77.                 alert(fldLangVal[i] +' no puede ser nulo.');
  78.                 fieldObj.focus();
  79.                 return false;
  80.                }
  81.             } else if(fieldObj.type =='checkbox'){
  82.                 if(fieldObj.checked == false){
  83.                 alert('Please accept  '+fldLangVal[i]);
  84.                 fieldObj.focus();
  85.                 return false;
  86.                }
  87.              }
  88.              try {
  89.                  if(fieldObj.name == 'Last Name') {
  90.                 name = fieldObj.value;
  91.                    }
  92.             } catch (e) {}
  93.             }
  94.         }
  95.         trackVisitor();
  96.         document.getElementById('formsubmit').disabled=true;
  97.     }
  98. </script><script type='text/javascript' id='VisitorTracking'>var $zoho= $zoho || {};$zoho.salesiq = $zoho.salesiq || {widgetcode:'530e4123a2f7ee8756aaf29348de53a3e8ee506ed8be641ac2c84cfa42f761b6cbabfa81e68d3087b5ffe4610eece8a0', values:{},ready:function(){$zoho.salesiq.floatbutton.visible('hide');}};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['WebToContacts48971000042375039']['LDTuvid'];if(LDTuvidObj){LDTuvidObj.value = $zoho.salesiq.visitor.uniqueid();}var firstnameObj = document.forms['WebToContacts48971000042375039']['First Name'];if(firstnameObj){name = firstnameObj.value +' '+name;}$zoho.salesiq.visitor.name(name);var emailObj = document.forms['WebToContacts48971000042375039']['Email'];if(emailObj){email = emailObj.value;$zoho.salesiq.visitor.email(email);}}} catch(e){}}</script>
  99.     </form>
  100. </div>
  101. {% else %}
  102. <!-- Note :
  103.    - You can modify the font style and form style to suit your website.
  104.    - 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.
  105.    - The Mandatory check script can modified as to suit your business needs.
  106.    - It is important that you test the modified form before going live.-->
  107. <div id='crmWebToEntityForm' style='margin:auto;'>
  108.    <META HTTP-EQUIV ='content-type' CONTENT='text/html;charset=UTF-8'>
  109.    <form action='https://crm.zoho.eu/crm/WebToContactForm' name=WebToContacts48971000042375258 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory48971000042375258()' accept-charset='UTF-8'>
  110.  <input type='text' style='display:none;' name='xnQsjsdp' value='60ac0ac0397c07c52d9395ae5b98b5979fcf1554e5626cfe14548569e8f8f22f'></input>
  111.  <input type='hidden' name='zc_gad' id='zc_gad' value=''></input>
  112.  <input type='text' style='display:none;' name='xmIwtLD' value='835275e621923c54ee40572214c74174bb320b30c5afceffb9e92761a42e3920'></input>
  113.  <input type='text'  style='display:none;' name='actionType' value='Q29udGFjdHM='></input>
  114.  <input type='text' style='display:none;' name='returnURL' value='https://eurochange.es/en/become-agent' > </input>
  115.      <!-- Do not remove this code. -->
  116.      <input type='text' style='display:none;' id='ldeskuid' name='ldeskuid'></input>
  117.      <input type='text' style='display:none;' id='LDTuvid' name='LDTuvid'></input>
  118.      <!-- Do not remove this code. -->
  119.     <style>
  120.         #crmWebToEntityForm tr , #crmWebToEntityForm td {
  121.             padding:6px;
  122.             border-spacing:0px;
  123.             border-width:0px;
  124.             }
  125.     </style>
  126. <table class='tabla_agente' style='max-width:600px;background-color:#ffffff;background-color:white;color:black'>
  127.    <br></br><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Name and surname<span style='color:red;'>*</span></td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='80' name='Last Name' /></td>
  128.   </tr><tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Telephone number<span style='color:red;'>*</span></td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='50' name='Phone' /></td> </tr>
  129.    <tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Email</td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='100' name='Email' /></td> </tr>
  130.    <tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Address<span style='color:red;'>*</span></td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='255' name='CONTACTCF42' /></td> </tr>
  131.    <tr><td  style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:20%;'>Town<span style='color:red;'>*</span></td><td style='width:70%;' ><input type='text' class='inputs_agente' style='width:100%;box-sizing:border-box;padding:4px 8px;background-color:#e6e6e6;color:#9f8bb4;'  maxlength='255' name='CONTACTCF16' /></td> </tr>
  132.   <tr style='display:none;' ><td style='word-break: break-word;text-align:left;font-size:12px;font-family:Arial;width:30%'>Idioma</td><td style='width:70%;'>
  133.         <select style='width:100%;box-sizing:border-box;' name='CONTACTCF30'>
  134.             <option value='-None-'>-None-</option>
  135.             <option value='Espa&ntilde;ol'>Espa&ntilde;ol</option>
  136.         <option selected value='Ingl&eacute;s'>Ingl&eacute;s</option>
  137.             <option value='ENU'>ENU</option>
  138.             <option value='ESP'>ESP</option>
  139.             <option value='SPA'>SPA</option>
  140.         </select></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='width:40%;'>
  141.         <select style='width:100%;box-sizing:border-box;' name='Lead Source'>
  142.             <option value='-None-'>-None-</option>
  143.             <option value='Cambiator'>Cambiator</option>
  144.             <option value='Visita&#x20;web'>Visita web</option>
  145.             <option value='Web'>Web</option>
  146.             <option value='Visita&#x20;comercial'>Visita comercial</option>
  147.             <option value='BBDD'>BBDD</option>
  148.             <option value='RRSS'>RRSS</option>
  149.             <option value='Radio'>Radio</option>
  150.             <option value='Prensa'>Prensa</option>
  151.             <option value='Folletos'>Folletos</option>
  152.             <option value='WhatsApp'>WhatsApp</option>
  153.             <option value='Referido'>Referido</option>
  154.             <option value='Twitter'>Twitter</option>
  155.             <option value='Google&#x2b;'>Google&#x2b;</option>
  156.             <option value='Contactos&#x20;corporativos'>Contactos corporativos</option>
  157.         <option selected value='Solicitud&#x20;agente'>Solicitud agente</option>
  158.         </select></td> </tr>
  159.     <tr><td colspan='2' style='text-align:center; padding-top:15px;font-size:12px;'>
  160.         <input style='padding: 1em;width: 48%;text-decoration: none;font-size: 16px;margin: 7px 0;cursor: pointer;border-radius: 20px;border: 0;background-color:#213B8A !important;color:white;' id='formsubmit' type='submit' value='Send'  ></input> {#<input class="resetAgente" type='reset' name='reset' style='padding: 1em;width: 48%;text-decoration: none;font-size: 16px;margin: 7px 0;cursor: pointer;border-radius: 20px;border: 0;background-color:#213B8A !important;color:white;' value='Restore' ></input>#} </td></tr></table>
  161.     <script>
  162.        var mndFileds=new Array('Last Name','Phone','CONTACTCF42','CONTACTCF16');
  163.        var fldLangVal=new Array('Name and surname','Telephone number','Address','Town');
  164.         var name='';
  165.         var email='';
  166.        function checkMandatory48971000042375258() {
  167.         for(i=0;i<mndFileds.length;i++) {
  168.           var fieldObj=document.forms['WebToContacts48971000042375258'][mndFileds[i]];
  169.           if(fieldObj) {
  170.             if (((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0) {
  171.              if(fieldObj.type =='file')
  172.                 {
  173.                  alert('Seleccione un archivo para cargar.');
  174.                  fieldObj.focus();
  175.                  return false;
  176.                 }
  177.             alert(fldLangVal[i] +' no puede estar vacío.');
  178.                       fieldObj.focus();
  179.                       return false;
  180.             }  else if(fieldObj.nodeName=='SELECT') {
  181.                      if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') {
  182.                 alert(fldLangVal[i] +' no puede ser nulo.');
  183.                 fieldObj.focus();
  184.                 return false;
  185.                }
  186.             } else if(fieldObj.type =='checkbox'){
  187.                 if(fieldObj.checked == false){
  188.                 alert('Please accept  '+fldLangVal[i]);
  189.                 fieldObj.focus();
  190.                 return false;
  191.                }
  192.              }
  193.              try {
  194.                  if(fieldObj.name == 'Last Name') {
  195.                 name = fieldObj.value;
  196.                    }
  197.             } catch (e) {}
  198.             }
  199.         }
  200.         trackVisitor();
  201.         document.getElementById('formsubmit').disabled=true;
  202.     }
  203. </script><script type='text/javascript' id='VisitorTracking'>var $zoho= $zoho || {};$zoho.salesiq = $zoho.salesiq || {widgetcode:'530e4123a2f7ee8756aaf29348de53a3e8ee506ed8be641ac2c84cfa42f761b6cbabfa81e68d3087b5ffe4610eece8a0', values:{},ready:function(){$zoho.salesiq.floatbutton.visible('hide');}};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['WebToContacts48971000042375258']['LDTuvid'];if(LDTuvidObj){LDTuvidObj.value = $zoho.salesiq.visitor.uniqueid();}var firstnameObj = document.forms['WebToContacts48971000042375258']['First Name'];if(firstnameObj){name = firstnameObj.value +' '+name;}$zoho.salesiq.visitor.name(name);var emailObj = document.forms['WebToContacts48971000042375258']['Email'];if(emailObj){email = emailObj.value;$zoho.salesiq.visitor.email(email);}}} catch(e){}}</script>
  204.     </form>
  205. </div>
  206. {% endif %}
  207. {% endblock zoho_form %}