Web form is not bringing information to leads

Web form is not bringing information to leads

Hi!

We were using the trial versión and we managed to créate a web form and then when completed the leads entered into CRM direclty.

Now the web is up and the webform can be completed but there are no leads in the CRM


Please find below the code



<!-- Do not remove this code. -->


                <input type='text' style='display:none;' name='xnQsjsdp' value='537d1213597635f2fe3f4ea2f9c3781dcdb140a85af71cdfdd661410da3d493e'/>


                <input type='hidden' name='zc_gad' id='zc_gad' value=''/>


                <input type='text' style='display:none;' name='xmIwtLD' value='8e2997674303dab2fe65e9f46d698eef532bbbcfec5ab307a32efcad434de713'/>


                <input type='text' style='display:none;'  name='actionType' value='TGVhZHM='/>


 


                <input type='text' style='display:none;' name='returnURL' value='http&#x3a;&#x2f;&#x2f;verb.company' />


                 <!-- Do not remove this code. -->


                <style>


                                tr , td {


                                                padding:6px;


                                                border-spacing:0px;


                                                border-width:0px;


                                                }


                </style>


                <table style='width:600px;background-color:white;color:black'>


 


                <tr><td colspan='2' style='text-align:left;color:black;font-family:Arial;font-size:15px;'><strong>HR Growbot email</strong></td></tr>


 


                <tr><td  style='nowrap:nowrap;text-align:left;font-size:13px;font-family:Arial;width:200px;'>First Name<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;'  maxlength='40' name='First Name' /></td></tr>


 


                <tr><td  style='nowrap:nowrap;text-align:left;font-size:13px;font-family:Arial;width:200px;'>Last Name<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;'  maxlength='80' name='Last Name' /></td></tr>


 


                <tr><td  style='nowrap:nowrap;text-align:left;font-size:13px;font-family:Arial;width:200px;'>Company<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;'  maxlength='100' name='Company' /></td></tr>


 


                <tr><td  style='nowrap:nowrap;text-align:left;font-size:13px;font-family:Arial;width:200px;'>Country<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;'  maxlength='30' name='Country' /></td></tr>


 


                <tr><td  style='nowrap:nowrap;text-align:left;font-size:13px;font-family:Arial;width:200px;'>Email<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;'  maxlength='100' name='Email' /></td></tr>


 


                <tr><td  style='nowrap:nowrap;text-align:left;font-size:13px;font-family:Arial;width:200px;'>Phone<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;'  maxlength='30' name='Phone' /></td></tr>


 


                <tr><td colspan='2' style='text-align:center; padding-top:15px;'>


                                <input style='font-size:13px;color:#131307' type='submit' value='Submit' />


                                <input type='reset' style='font-size:13px;color:#131307' value='Reset' />


                    </td>


                </tr>


   </table>


                <script>


                 var mndFileds=new Array('Company','First Name','Last Name','Email','Phone','Country');


                 var fldLangVal=new Array('Company','First Name','Last Name','Email','Phone','Country');


                                var name='';


                                var email='';


 


                 function checkMandatory() {


                                for(i=0;i<mndFileds.length;i++) {


                                  var fieldObj=document.forms['WebToLeads2155224000000125001'][mndFileds[i]];


                                  if(fieldObj) {


                                                if (((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0) {


                                                if(fieldObj.type =='file')


                                                                {


                                                                 alert('Please select a file to upload.');


                                                                 fieldObj.focus();


                                                                 return false;


                                                                }


                                                alert(fldLangVal[i] +' cannot be empty.');


                                                  fieldObj.focus();


                                                  return false;


                                                }  else if(fieldObj.nodeName=='SELECT') {


                                                 if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') {


                                                                alert(fldLangVal[i] +' cannot be none.');


                                                                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) {}


                                    }


                                }


                     }


                  


</script>


                </form>


</div>