// this file is dynamically generated
function validatefields1191(form){
var alertmsg = 'New Student Application: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
var options = 0;var answers_num = 0;
for(i=1;i<form.choice10777.length;i++){if(form.choice10777[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 1.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice10775.length;i++){if(form.choice10775[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 2.\n";
if(form.answertext10771.value == "") alertmsg = alertmsg + "Please answer question # 3.\n";
if(form.answertext10772.value == "") alertmsg = alertmsg + "Please answer question # 4.\n";
var options = 0;var answers_num = 0;
if(form.choice10774[1-1].checked == true)options++;
if(form.choice10774[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 6.\n";
if(form.answertext10776.value == "") alertmsg = alertmsg + "Please answer question # 7.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice10807.length;i++){if(form.choice10807[i].selected==true)options++;}
if(form.answertext10778.value == "") alertmsg = alertmsg + "Please answer question # 10.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice10785.length;i++){if(form.choice10785[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 11.\n";
if(form.answertext10779.value == "") alertmsg = alertmsg + "Please answer question # 12.\n";
if(form.answertext10780.value == "") alertmsg = alertmsg + "Please answer question # 13.\n";
if(form.answertext10781.value == "") alertmsg = alertmsg + "Please answer question # 14.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice10789.length;i++){if(form.choice10789[i].selected==true)options++;}
var options = 0;var answers_num = 0;
if(form.choice10799[1-1].checked == true)options++;
if(form.choice10799[2-1].checked == true)options++;
if(form.choice10799[3-1].checked == true)options++;
if(form.choice10799[4-1].checked == true)options++;
if(form.choice10799[5-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 30.\n";
var options = 0;var answers_num = 0;
if(form.choice10800[1-1].checked == true)options++;
if(form.choice10800[2-1].checked == true)options++;
if(form.choice10800[3-1].checked == true)options++;
if(form.choice10800[4-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 31.\n";
var options = 0;var answers_num = 0;
if(form.choice10808[1-1].checked == true)options++;
if(form.choice10808[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 35.\n";
var options = 0;var answers_num = 0;
if(form.choice10810[1-1].checked == true)options++;
if(form.choice10810[2-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 37.\n";
var options = 0;var answers_num = 0;
if(form.choice10803[1-1].checked == true)options++;
if(form.choice10803[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 40.\n";
var options = 0;var answers_num = 0;
if(form.choice10812[1-1].checked == true)options++;
if(form.choice10812[2-1].checked == true)options++;
if(form.choice10812[3-1].checked == true)options++;
if(form.choice10812[4-1].checked == true)options++;
if(form.choice10812[5-1].checked == true)options++;
if(form.choice10812[6-1].checked == true)options++;
if(form.choice10812[7-1].checked == true)options++;
if(form.choice10812[8-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 41.\n";
var options = 0;var answers_num = 0;
if(form.choice10814[1-1].checked == true)options++;
if(form.choice10814[2-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 43.\n";
if (alertmsg == 'New Student Application: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

