Hallo
Ich habe, seit der Erstellung des Responsive Designs auf ein Mal Probleme mit unseren Webformularen. Bei diesem hier aktualisiert sich der Captcha Code nicht mehr und wenn man es abschicken will, steht "Vorname darf nicht leer sein", obwohl was drin steht. Sieht jemand einen Fehler? Ich bin leider noch HTML-Anfänger...
<div id='crmWebToEntityForm' align='center'><META HTTP-EQUIV ='content-type' CONTENT='text/html;charset = UTF-8'> <form action='https://crm.zoho.com/crm/WebToLeadForm' name=WebToLeads979847000003219294 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatery()' accept-charset='UTF-8'> <input type='text' style='display:none;' name='xnQsjsdp' value='F-WecVuFzJlthYo@kRl79w$$'/> <input type='hidden' name='zc_gad' id='zc_gad' value=''/> <input type='text' style='display:none;' name='xmIwtLD' value='sZ9lEIPToubpoBo7Um8j532ptd3vT5BS'/> <input type='text' style='display:none;' name='actionType' value='TGVhZHM='/> <input type='text' style='display:none;' name='returnURL' value='http://www.ruhepuls.ch/thankyou-ratgeber.htm' /> <br><table border=0 cellspacing=0 cellpadding='6' width=600 style='background-color:white;color:black'><tr><td colspan='2' align='left' style='color:black;font-family:Arial;font-size:18px;'><strong>Liege-Ratgeber</strong></td></tr> <br><td style="color: blue; font-family: Arial; font-size: 14px;"colspan="2" align="left"><strong>Ja, ich möchte einen kostenlosen Liege-Ratgeber! </strong></td></tr> <br><tr><td nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;'>Vorname<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 nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;'>Nachname<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 nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;'>Strasse<span style='color:red;'>*</span> </td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='250' name='Street' /></td></tr><tr><td nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;'>Postleitzahl<span style='color:red;'>*</span> </td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='30' name='Zip Code' /></td></tr><tr><td nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;'>Ortschaft<span style='color:red;'>*</span> </td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='30' name='City' /></td></tr><tr><td nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;'>Mobil </td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='30' name='Mobile' /></td></tr><tr><td nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;'>E-Mail </td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='100' name='Email' /></td></tr><tr style='display:none;' ><td nowrap='nowrap' align='left' style='font-size:12px;font-family:Arial;width:200px;' width='50%'>Kamp. GI1 </td><td style='width:250px;' ><select style='width:250px;' name='LEADCF32'> <option value='-None-'>-/-</option> <option selected value='ja'>ja</option> <option value='nein'>nein</option> </select></td></tr><tr><td nowrap='nowrap' align='left' style='font:normal 12px/1.27 arial;width:200px;'>Sicherheitscode </td><td><input type='text' style='width:250px;' maxlength='80' name='enterdigest' /></td></tr><tr><td></td><td><img id='imgid' src='https://crm.zoho.com/crm/CaptchaServlet?formId=sZ9lEIPToubpoBo7Um8j532ptd3vT5BS&grpid=F-WecVuFzJlthYo@kRl79w$$'> <a href='javascript:;' onclick='reloadImg()' style="font-family: Arial; font-size:12px;">aktualisieren</a></td></tr><tr><td colspan='2' align='center' style='padding-top: 15px;' ><input style='font-family: Arial;font-size:12px;color:black' type='submit' value='Senden' /> <input type='reset' style='font-family: Arial;font-size:12px;color:black' value='Zurücksetzen' /> </td></tr></table><script> var mndFileds=new Array('First Name','Last Name','Street','City','Zip Code');var fldLangVal=new Array('Vorname','Nachname','Strasse','Ortschaft','Postleitzahl');function reloadImg(){if(document.getElementById('imgid').src.indexOf('&d') !== -1 ){document.getElementById('imgid').src=document.getElementById('imgid').src.substring(0,document.getElementById('imgid').src.indexOf('&d'))+'&d'+new Date().getTime();}else{document.getElementById('imgid').src = document.getElementById('imgid').src+'&d'+new Date().getTime();}}function checkMandatery(){var name='';var email='';for(i=0;i<mndFileds.length;i++){ var fieldObj=document.forms['WebToLeads979847000003219294'][mndFileds[i]];if(fieldObj) {if(((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0){alert(fldLangVal[i] +' kann nicht leer sein'); fieldObj.focus(); return false;}else if(fieldObj.nodeName=='SELECT'){if(fieldObj.options[fieldObj.selectedIndex].value=='-None-'){alert(fldLangVal[i] +' kann nicht kein sein......'); 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){}}}try{if($zoho){var firstnameObj = document.forms['WebToLeads979847000003219294']['First Name'];if(firstnameObj){name = firstnameObj.value +' '+name;}$zoho.salesiq.visitor.name(name);var emailObj = document.forms['WebToLeads979847000003219294']['Email'];if(emailObj){email = emailObj.value;$zoho.salesiq.visitor.email(email);}}}catch(e){}}</script> </form><iframe name='captchaFrame' style='display:none;'></iframe></div>