function ValidateForm3(){ 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.ContactForm3.field20.value.length==0){ flag = false; } if (document.ContactForm3.field21.value.length==0){ flag = false; } if (document.ContactForm3.field24.value.length==0){ flag = false; } if (document.ContactForm3.field26.value.length==0){ flag = false; } if (document.ContactForm3.field28.value.length==0){ flag = false; } if (document.ContactForm3.field27.value.length==0){ flag = false; } if (document.ContactForm3.field29.value.length==0){ flag = false; } if (document.ContactForm3.field44.value.length==0){ flag = false; } var radioBtnChecked = false; for (j=0; j