Sid Gifari From Gifari Industries - BD Cyber Security Team
Home
/
home
/
airmobeuag
/
2020
/
commande_v2
/
✏️
Editing: test.form.php
<!-- Note : - You can modify the font style and form style to suit your website. - 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. - The Mandatory check script can modified as to suit your business needs. - It is important that you test the modified form before going live.--> <div id='crmWebToEntityForm' style='width:800px;margin:auto;'> <META HTTP-EQUIV ='content-type' CONTENT='text/html;charset=UTF-8'> <form action='https://crm.zoho.com/crm/WebToLeadForm' name=WebToLeads1944598000040085065 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory1944598000040085065()' accept-charset='UTF-8'> <input type='text' style='display:none;' name='xnQsjsdp' value='50c19e17e52b126aa15abc7beda49c6618ce5804dac2ac848c44556a458bdfd7'></input> <input type='hidden' name='zc_gad' id='zc_gad' value=''></input> <input type='text' style='display:none;' name='xmIwtLD' value='454d132f44bed24a6792d31a13983f11ad473a36b8cf8ae63104faa00334243d'></input> <input type='text' style='display:none;' name='actionType' value='TGVhZHM='></input> <input type='text' style='display:none;' name='returnURL' value='http://airmob.net/commande_v2/test.form.php?valide=ok' > </input><br></br> <link href="https://fonts.googleapis.com/css?family=Comfortaa&display=swap" rel="stylesheet"> <!-- Do not remove this code. --> <style> body { font-family: 'Comfortaa', cursive; } #crmWebToEntityForm tr , #crmWebToEntityForm td { padding:6px; border-spacing:0px; border-width:0px; } textarea,input { border:none; border-bottom: 2px solid #4270ad; margin-bottom:10px; } textarea::-webkit-input-placeholder { font-family: 'Comfortaa', cursive; color: #9d9d9d; } textarea:-moz-placeholder { /* Firefox 18- */ font-family: 'Comfortaa', cursive; color: #9d9d9d; } textarea::-moz-placeholder { /* Firefox 19+ */ font-family: 'Comfortaa', cursive; color: #9d9d9d; } textarea:-ms-input-placeholder { font-family: 'Comfortaa', cursive; color: #9d9d9d; } textarea::placeholder { font-family: 'Comfortaa', cursive; color: #9d9d9d; } ::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: #9d9d9d; } ::-moz-placeholder { /* Firefox 19+ */ color: #9d9d9d; } :-ms-input-placeholder { /* IE 10+ */ color: #9d9d9d; } :-moz-placeholder { /* Firefox 18- */ color: #9d9d9d; } </style> <?php if ( !$_REQUEST['valide']) { ?> <table style='width:100%;' border="0"> <tr> <td ><input class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" type='text' style='width:100%;box-sizing:border-box;' maxlength='100' name='Company' placeholder="Nom de la Société *"/></td> <td ></td> </tr> <tr> <td ><input type='text' style='width:100%;box-sizing:border-box;' maxlength='80' name='Last Name'placeholder="Votre nom *" /></td> <td ><input type='text' style='width:100%;box-sizing:border-box;' maxlength='40' name='First Name' placeholder="Votre prénom *"/></td> </tr> <tr> <td ><input type='text' style='width:100%;box-sizing:border-box;' maxlength='100' name='Email' placeholder="Adresse mail *"/></td> <td ><input type='text' style='width:100%;box-sizing:border-box;' maxlength='30' name='Phone' placeholder="Numéro de téléphone *"/></td> </tr> <tr> <td colspan="3"> <br><br> <textarea placeholder="Votre message" maxlength="32000" name='Description' style="width:100%; height:150px;"></textarea> </td> </tr> <tr> <td colspan='2' style=''> <input type='hidden' maxlength='30' name='Lead Source' value='Demande de contact'/> <input style='width:125px; border-radius:5px; margin:5px; border:0px; padding:20px; background: #f5a623; color:#fff; cursor: pointer; font-size:0.9em;' id='formsubmit' type='submit' value='Envoyer' ></input> </td> </tr> </table> <?php } else { ?> <table style='width:100%;' border="0"> <tr> <td align="center" style="color:#235ba5"><h2>AIRMOB</h2><h2>Merci pour votre message.</h2></td> </tr> </table> <?php } ?> <script> var mndFileds=new Array('Company','First Name','Last Name','Email','Phone','Description'); var fldLangVal=new Array('Nom de la Société','Prénom','Nom','Adresse mail','Numéro de téléphone','Votre message'); var name=''; var email=''; function checkMandatory1944598000040085065() { for(i=0;i<mndFileds.length;i++) { var fieldObj=document.forms['WebToLeads1944598000040085065'][mndFileds[i]]; if(fieldObj) { if (((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0) { if(fieldObj.type =='file') { alert('Veuillez sélectionner un fichier à charger.'); fieldObj.focus(); return false; } alert(fldLangVal[i] +' ne peut pas être vide.'); fieldObj.focus(); return false; } else if(fieldObj.nodeName=='SELECT') { if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') { alert(fldLangVal[i] +' ne peut être aucun.'); fieldObj.focus(); return false; } } else if(fieldObj.type =='checkbox'){ if(fieldObj.checked == false){ alert('Please accept '+fldLangVal[i]); fieldObj.focus(); return false; } } try { if(fieldObj.name == 'Last Name') { name = fieldObj.value; } } catch (e) {} } } document.getElementById('formsubmit').disabled=true; } </script> </form> </div>
💾 Save
❌ Cancel