// this file is dynamically generated
function validatefields172(form){
var alertmsg = ': Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext1603.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice1604.length;i++){if(form.choice1604[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 2.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice1605.length;i++){if(form.choice1605[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 3.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice1606.length;i++){if(form.choice1606[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 4.\n";
if(form.answertext1607.value == "") alertmsg = alertmsg + "Please answer question # 5.\n";
if(form.answertext1608.value == "") alertmsg = alertmsg + "Please answer question # 6.\n";
var options = 0;var answers_num = 0;
if(form.choice1609[1-1].checked == true)options++;
if(form.choice1609[2-1].checked == true)options++;
if(form.choice1609[3-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 7.\n";
var options = 0;var answers_num = 0;
if(form.choice1610[1-1].checked == true)options++;
if(form.choice1610[2-1].checked == true)options++;
if(form.choice1610[3-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 8.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice1611.length;i++){if(form.choice1611[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 9.\n";
var options = 0;var answers_num = 0;
if(form.choice1612[1-1].checked == true)options++;
if(form.choice1612[2-1].checked == true)options++;
if(form.choice1612[3-1].checked == true)options++;
if(form.choice1612[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 # 10.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice1613.length;i++){if(form.choice1613[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 11.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice1614.length;i++){if(form.choice1614[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 12.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice1719.length;i++){if(form.choice1719[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 13.\n";
if(form.answertext1617.value == "") alertmsg = alertmsg + "Please answer question # 16.\n";
if(form.answertext1619.value == "") alertmsg = alertmsg + "Please answer question # 18.\n";
if(form.answertext1620.value == "") alertmsg = alertmsg + "Please answer question # 19.\n";
if(form.answertext1622.value == "") alertmsg = alertmsg + "Please answer question # 21.\n";
if(form.answertext1623.value == "") alertmsg = alertmsg + "Please answer question # 22.\n";
if(form.answertext1624.value == "") alertmsg = alertmsg + "Please answer question # 23.\n";
if(form.answertext1626.value == "") alertmsg = alertmsg + "Please answer question # 25.\n";
if(form.answertext1628.value == "") alertmsg = alertmsg + "Please answer question # 27.\n";
var options = 0;var answers_num = 0;
if(form.choice1630[1-1].checked == true)options++;
if(form.choice1630[2-1].checked == true)options++;
if(form.choice1630[3-1].checked == true)options++;
if(form.choice1630[4-1].checked == true)options++;
if(form.choice1630[5-1].checked == true)options++;
if(form.choice1630[6-1].checked == true)options++;
if(form.choice1630[7-1].checked == true)options++;
if(form.choice1630[8-1].checked == true)options++;
if(form.choice1630[9-1].checked == true)options++;
if(form.choice1630[10-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 28.\n";
var options = 0;var answers_num = 0;
if(form.choice1631[1-1].checked == true)options++;
if(form.choice1631[2-1].checked == true)options++;
if(form.choice1631[3-1].checked == true)options++;
if(form.choice1631[4-1].checked == true)options++;
if(form.choice1631[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 # 29.\n";
if (alertmsg == ': Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

