function ValidateForm8(){ var flag = true; var message = 'Please fill in all mandatory fields !'; var showcheck = -1;var showcheck = http.responseText; if (showcheck=='0') { message = 'Incorrect verification code!'; flag = false; } if (document.ContactForm8.field92.value.length==0){ flag = false; } if (document.ContactForm8.field270.value.length==0){ flag = false; } if (document.ContactForm8.field94.value.length==0){ flag = false; } if (document.ContactForm8.field330.value.length==0){ flag = false; } if (document.ContactForm8.field303.value.length==0){ flag = false; } if (document.ContactForm8.field99.value.length==0){ flag = false; } var radioBtnChecked = false; for (j=0; j