// this file is dynamically generated
function validatefields1400(form){
var alertmsg = 'Church Directory Form: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext12716.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext12717.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
var options = 0;var answers_num = 0;
if(form.choice12718[1-1].checked == true)options++;
if(form.choice12718[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.choice12730[1-1].checked == true)options++;
if(form.choice12730[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 # 11.\n";
if (alertmsg == 'Church Directory Form: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
