// this file is dynamically generated
function validatefields1217(form){
var alertmsg = 'Submit your Spiritual Gifts Survey: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext11256.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
var options = 0;var answers_num = 0;
if(form.choice11347[1-1].checked == true)options++;
if(form.choice11347[2-1].checked == true)options++;
if(form.choice11347[3-1].checked == true)options++;
if(form.choice11347[4-1].checked == true)options++;
if(form.choice11347[5-1].checked == true)options++;
if(form.choice11347[6-1].checked == true)options++;
if(form.choice11347[7-1].checked == true)options++;
if(form.choice11347[8-1].checked == true)options++;
if(form.choice11347[9-1].checked == true)options++;
if(form.choice11347[10-1].checked == true)options++;
if(form.choice11347[11-1].checked == true)options++;
if(form.choice11347[12-1].checked == true)options++;
if(form.choice11347[13-1].checked == true)options++;
if(form.choice11347[14-1].checked == true)options++;
if(form.choice11347[15-1].checked == true)options++;
if(form.choice11347[16-1].checked == true)options++;
if(form.choice11347[17-1].checked == true)options++;
if(form.choice11347[18-1].checked == true)options++;
answers_num = 4;
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.choice11349[1-1].checked == true)options++;
if(form.choice11349[2-1].checked == true)options++;
if(form.choice11349[3-1].checked == true)options++;
if(form.choice11349[4-1].checked == true)options++;
if(form.choice11349[5-1].checked == true)options++;
if(form.choice11349[6-1].checked == true)options++;
if(form.choice11349[7-1].checked == true)options++;
if(form.choice11349[8-1].checked == true)options++;
if(form.choice11349[9-1].checked == true)options++;
if(form.choice11349[10-1].checked == true)options++;
if(form.choice11349[11-1].checked == true)options++;
if(form.choice11349[12-1].checked == true)options++;
if(form.choice11349[13-1].checked == true)options++;
if(form.choice11349[14-1].checked == true)options++;
if(form.choice11349[15-1].checked == true)options++;
if(form.choice11349[16-1].checked == true)options++;
if(form.choice11349[17-1].checked == true)options++;
if(form.choice11349[18-1].checked == true)options++;
answers_num = 3;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 3.\n";
if (alertmsg == 'Submit your Spiritual Gifts Survey: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

