// this file is dynamically generated
function validatefields1190(form){
var alertmsg = 'Sunday Morning Worship Survey: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
var options = 0;var answers_num = 0;
if(form.choice10768[1-1].checked == true)options++;
if(form.choice10768[2-1].checked == true)options++;
if(form.choice10768[3-1].checked == true)options++;
if(form.choice10768[4-1].checked == true)options++;
if(form.choice10768[5-1].checked == true)options++;
if(form.choice10768[6-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 1.\n";
var options = 0;var answers_num = 0;
if(form.choice10967[1-1].checked == true)options++;
if(form.choice10967[2-1].checked == true)options++;
if(form.choice10967[3-1].checked == true)options++;
if(form.choice10967[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 # 2.\n";
var options = 0;var answers_num = 0;
if(form.choice10968[1-1].checked == true)options++;
if(form.choice10968[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 # 3.\n";
var options = 0;var answers_num = 0;
if(form.choice10969[1-1].checked == true)options++;
if(form.choice10969[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 # 4.\n";
var options = 0;var answers_num = 0;
if(form.choice10769[1-1].checked == true)options++;
if(form.choice10769[2-1].checked == true)options++;
if(form.choice10769[3-1].checked == true)options++;
if(form.choice10769[4-1].checked == true)options++;
if(form.choice10769[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 # 5.\n";
var options = 0;var answers_num = 0;
if(form.choice10770[1-1].checked == true)options++;
if(form.choice10770[2-1].checked == true)options++;
if(form.choice10770[3-1].checked == true)options++;
if(form.choice10770[4-1].checked == true)options++;
if(form.choice10770[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 # 7.\n";
var options = 0;var answers_num = 0;
if(form.choice10970[1-1].checked == true)options++;
if(form.choice10970[2-1].checked == true)options++;
if(form.choice10970[3-1].checked == true)options++;
if(form.choice10970[4-1].checked == true)options++;
if(form.choice10970[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 # 9.\n";
var options = 0;var answers_num = 0;
if(form.choice10971[1-1].checked == true)options++;
if(form.choice10971[2-1].checked == true)options++;
if(form.choice10971[3-1].checked == true)options++;
if(form.choice10971[4-1].checked == true)options++;
if(form.choice10971[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 # 11.\n";
var options = 0;var answers_num = 0;
if(form.choice10972[1-1].checked == true)options++;
if(form.choice10972[2-1].checked == true)options++;
if(form.choice10972[3-1].checked == true)options++;
if(form.choice10972[4-1].checked == true)options++;
if(form.choice10972[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 # 13.\n";
var options = 0;var answers_num = 0;
if(form.choice10973[1-1].checked == true)options++;
if(form.choice10973[2-1].checked == true)options++;
if(form.choice10973[3-1].checked == true)options++;
if(form.choice10973[4-1].checked == true)options++;
if(form.choice10973[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 # 15.\n";
var options = 0;var answers_num = 0;
if(form.choice10974[1-1].checked == true)options++;
if(form.choice10974[2-1].checked == true)options++;
if(form.choice10974[3-1].checked == true)options++;
if(form.choice10974[4-1].checked == true)options++;
if(form.choice10974[5-1].checked == true)options++;
if(form.choice10974[6-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 17.\n";
var options = 0;var answers_num = 0;
if(form.choice10975[1-1].checked == true)options++;
if(form.choice10975[2-1].checked == true)options++;
if(form.choice10975[3-1].checked == true)options++;
if(form.choice10975[4-1].checked == true)options++;
if(form.choice10975[5-1].checked == true)options++;
if(form.choice10975[6-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 19.\n";
var options = 0;var answers_num = 0;
if(form.choice10976[1-1].checked == true)options++;
if(form.choice10976[2-1].checked == true)options++;
if(form.choice10976[3-1].checked == true)options++;
if(form.choice10976[4-1].checked == true)options++;
if(form.choice10976[5-1].checked == true)options++;
if(form.choice10976[6-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 21.\n";
var options = 0;var answers_num = 0;
if(form.choice10977[1-1].checked == true)options++;
if(form.choice10977[2-1].checked == true)options++;
if(form.choice10977[3-1].checked == true)options++;
if(form.choice10977[4-1].checked == true)options++;
if(form.choice10977[5-1].checked == true)options++;
if(form.choice10977[6-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 23.\n";
var options = 0;var answers_num = 0;
if(form.choice10978[1-1].checked == true)options++;
if(form.choice10978[2-1].checked == true)options++;
if(form.choice10978[3-1].checked == true)options++;
if(form.choice10978[4-1].checked == true)options++;
if(form.choice10978[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 # 25.\n";
if(form.answertext10982.value == "") alertmsg = alertmsg + "Please answer question # 27.\n";
if(form.answertext10986.value == "") alertmsg = alertmsg + "Please answer question # 30.\n";
if (alertmsg == 'Sunday Morning Worship Survey: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

