// this file is dynamically generated
function validatefields698(form){
var alertmsg = 'Miles for His Mission Sign Up: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
var options = 0;var answers_num = 0;
if(form.choice5640[1-1].checked == true)options++;
if(form.choice5640[2-1].checked == true)options++;
if(form.choice5640[3-1].checked == true)options++;
if(form.choice5640[4-1].checked == true)options++;
if(form.choice5640[5-1].checked == true)options++;
answers_num = 5;
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.choice10592[1-1].checked == true)options++;
if(form.choice10592[2-1].checked == true)options++;
if(form.choice10592[3-1].checked == true)options++;
if(form.choice10592[4-1].checked == true)options++;
if(form.choice10592[5-1].checked == true)options++;
if(form.choice10592[6-1].checked == true)options++;
if(form.choice10592[7-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";
if(form.answertext20166.value == "") alertmsg = alertmsg + "Please answer question # 4.\n";
if(form.answertext5644.value == "") alertmsg = alertmsg + "Please answer question # 5.\n";
if(form.answertext5645.value == "") alertmsg = alertmsg + "Please answer question # 6.\n";
if(form.answertext5646.value == "") alertmsg = alertmsg + "Please answer question # 7.\n";
if(form.answertext5647.value == "") alertmsg = alertmsg + "Please answer question # 8.\n";
if(form.answertext5648.value == "") alertmsg = alertmsg + "Please answer question # 10.\n";
var options = 0;var answers_num = 0;
if(form.choice20183[1-1].checked == true)options++;
if(form.choice20183[2-1].checked == true)options++;
if(form.choice20183[3-1].checked == true)options++;
if(form.choice20183[4-1].checked == true)options++;
if(form.choice20183[5-1].checked == true)options++;
if(form.choice20183[6-1].checked == true)options++;
if(form.choice20183[7-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 12.\n";
var options = 0;var answers_num = 0;
if(form.choice5641[1-1].checked == true)options++;
if(form.choice5641[2-1].checked == true)options++;
if(form.choice5641[3-1].checked == true)options++;
if(form.choice5641[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 # 13.\n";
var options = 0;var answers_num = 0;
if(form.choice20163[1-1].checked == true)options++;
if(form.choice20163[2-1].checked == true)options++;
if(form.choice20163[3-1].checked == true)options++;
if(form.choice20163[4-1].checked == true)options++;
if(form.choice20163[5-1].checked == true)options++;
if(form.choice20163[6-1].checked == true)options++;
if(form.choice20163[7-1].checked == true)options++;
answers_num = 0;
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.choice20165[1-1].checked == true)options++;
if(form.choice20165[2-1].checked == true)options++;
if(form.choice20165[3-1].checked == true)options++;
if(form.choice20165[4-1].checked == true)options++;
if(form.choice20165[5-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 16.\n";
var options = 0;var answers_num = 0;
if(form.choice20169[1-1].checked == true)options++;
if(form.choice20169[2-1].checked == true)options++;
if(form.choice20169[3-1].checked == true)options++;
if(form.choice20169[4-1].checked == true)options++;
if(form.choice20169[5-1].checked == true)options++;
if(form.choice20169[6-1].checked == true)options++;
if(form.choice20169[7-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 18.\n";
var options = 0;var answers_num = 0;
if(form.choice20170[1-1].checked == true)options++;
if(form.choice20170[2-1].checked == true)options++;
if(form.choice20170[3-1].checked == true)options++;
if(form.choice20170[4-1].checked == true)options++;
if(form.choice20170[5-1].checked == true)options++;
answers_num = 0;
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.choice20172[1-1].checked == true)options++;
if(form.choice20172[2-1].checked == true)options++;
if(form.choice20172[3-1].checked == true)options++;
if(form.choice20172[4-1].checked == true)options++;
if(form.choice20172[5-1].checked == true)options++;
if(form.choice20172[6-1].checked == true)options++;
if(form.choice20172[7-1].checked == true)options++;
answers_num = 0;
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.choice20173[1-1].checked == true)options++;
if(form.choice20173[2-1].checked == true)options++;
if(form.choice20173[3-1].checked == true)options++;
if(form.choice20173[4-1].checked == true)options++;
if(form.choice20173[5-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 22.\n";
var options = 0;var answers_num = 0;
if(form.choice20175[1-1].checked == true)options++;
if(form.choice20175[2-1].checked == true)options++;
if(form.choice20175[3-1].checked == true)options++;
if(form.choice20175[4-1].checked == true)options++;
if(form.choice20175[5-1].checked == true)options++;
if(form.choice20175[6-1].checked == true)options++;
if(form.choice20175[7-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 24.\n";
var options = 0;var answers_num = 0;
if(form.choice20176[1-1].checked == true)options++;
if(form.choice20176[2-1].checked == true)options++;
if(form.choice20176[3-1].checked == true)options++;
if(form.choice20176[4-1].checked == true)options++;
if(form.choice20176[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";
var options = 0;var answers_num = 0;
if(form.choice20178[1-1].checked == true)options++;
if(form.choice20178[2-1].checked == true)options++;
if(form.choice20178[3-1].checked == true)options++;
if(form.choice20178[4-1].checked == true)options++;
if(form.choice20178[5-1].checked == true)options++;
if(form.choice20178[6-1].checked == true)options++;
if(form.choice20178[7-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 27.\n";
var options = 0;var answers_num = 0;
if(form.choice20179[1-1].checked == true)options++;
if(form.choice20179[2-1].checked == true)options++;
if(form.choice20179[3-1].checked == true)options++;
if(form.choice20179[4-1].checked == true)options++;
if(form.choice20179[5-1].checked == true)options++;
answers_num = 0;
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.choice20181[1-1].checked == true)options++;
if(form.choice20181[2-1].checked == true)options++;
if(form.choice20181[3-1].checked == true)options++;
if(form.choice20181[4-1].checked == true)options++;
if(form.choice20181[5-1].checked == true)options++;
if(form.choice20181[6-1].checked == true)options++;
if(form.choice20181[7-1].checked == true)options++;
answers_num = 0;
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.choice20182[1-1].checked == true)options++;
if(form.choice20182[2-1].checked == true)options++;
if(form.choice20182[3-1].checked == true)options++;
if(form.choice20182[4-1].checked == true)options++;
if(form.choice20182[5-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 31.\n";
if(form.user_email.value == "") alertmsg = alertmsg + "Please enter your Email Address.\n";
if (alertmsg == 'Miles for His Mission Sign Up: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

