// this file is dynamically generated
function validatefields365(form){
var alertmsg = 'If you would like more information regarding Planned Giving: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext2387.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext2388.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
var options = 0;var answers_num = 0;
if(form.choice2392[1-1].checked == true)options++;
if(form.choice2392[2-1].checked == true)options++;
if(form.choice2392[3-1].checked == true)options++;
if(form.choice2392[4-1].checked == true)options++;
answers_num = 0;
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.choice2390[1-1].checked == true)options++;
if(form.choice2390[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 # 5.\n";
var options = 0;var answers_num = 0;
if(form.choice2391[1-1].checked == true)options++;
if(form.choice2391[2-1].checked == true)options++;
if(form.choice2391[3-1].checked == true)options++;
if(form.choice2391[4-1].checked == true)options++;
if(form.choice2391[5-1].checked == true)options++;
if(form.choice2391[6-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 6.\n";
if (alertmsg == 'If you would like more information regarding Planned Giving: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

