function ValidateForm12(){ 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.ContactForm12.field138.value.length==0){ flag = false; } if (document.ContactForm12.field139.value.length==0){ flag = false; } if (document.ContactForm12.field140.value.length==0){ flag = false; } if (document.ContactForm12.field337.value.length==0){ flag = false; } if (document.ContactForm12.field296.value.length==0){ flag = false; } if (document.ContactForm12.field145.value.length==0){ flag = false; } var radioBtnChecked = false; for (j=0; j