// this file is dynamically generated
function validatefields1272(form){
var alertmsg = 'Vacation Bible School Registration: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext11718.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext11724.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
var options = 0;var answers_num = 0;
if(form.choice11725[1-1].checked == true)options++;
if(form.choice11725[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.choice19976[1-1].checked == true)options++;
if(form.choice19976[2-1].checked == true)options++;
if(form.choice19976[3-1].checked == true)options++;
if(form.choice19976[4-1].checked == true)options++;
if(form.choice19976[5-1].checked == true)options++;
if(form.choice19976[6-1].checked == true)options++;
if(form.choice19976[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 # 4.\n";
if(form.answertext11732.value == "") alertmsg = alertmsg + "Please answer question # 5.\n";
var options = 0;var answers_num = 0;
if(form.choice11726[1-1].checked == true)options++;
if(form.choice11726[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";
var options = 0;var answers_num = 0;
if(form.choice11737[1-1].checked == true)options++;
if(form.choice11737[2-1].checked == true)options++;
if(form.choice11737[3-1].checked == true)options++;
if(form.choice11737[4-1].checked == true)options++;
if(form.choice11737[5-1].checked == true)options++;
if(form.choice11737[6-1].checked == true)options++;
if(form.choice11737[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 # 7.\n";
if(form.answertext11719.value == "") alertmsg = alertmsg + "Please answer question # 8.\n";
if(form.answertext11721.value == "") alertmsg = alertmsg + "Please answer question # 10.\n";
if(form.answertext11722.value == "") alertmsg = alertmsg + "Please answer question # 11.\n";
if(form.answertext11738.value == "") alertmsg = alertmsg + "Please answer question # 12.\n";
if(form.answertext11723.value == "") alertmsg = alertmsg + "Please answer question # 13.\n";
if(form.answertext11731.value == "") alertmsg = alertmsg + "Please answer question # 14.\n";
var options = 0;var answers_num = 0;
if(form.choice16054[1-1].checked == true)options++;
if(form.choice16054[2-1].checked == true)options++;
if(form.choice16054[3-1].checked == true)options++;
if(form.choice16054[4-1].checked == true)options++;
if(form.choice16054[5-1].checked == true)options++;
if(form.choice16054[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 # 15.\n";
if(form.user_email.value == "") alertmsg = alertmsg + "Please enter your Email Address.\n";
if (alertmsg == 'Vacation Bible School Registration: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

