// this file is dynamically generated
function validatefields1148(form){
var alertmsg = 'Online Registration Form: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext10521.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext11120.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
if(form.answertext10522.value == "") alertmsg = alertmsg + "Please answer question # 3.\n";
var options = 0;var answers_num = 0;
if(form.choice10520[1-1].checked == true)options++;
if(form.choice10520[2-1].checked == true)options++;
if(form.choice10520[3-1].checked == true)options++;
if(form.choice10520[4-1].checked == true)options++;
if(form.choice10520[5-1].checked == true)options++;
if(form.choice10520[6-1].checked == true)options++;
if(form.choice10520[7-1].checked == true)options++;
if(form.choice10520[8-1].checked == true)options++;
if(form.choice10520[9-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";
var options = 0;var answers_num = 0;
if(form.choice10524[1-1].checked == true)options++;
if(form.choice10524[2-1].checked == true)options++;
if(form.choice10524[3-1].checked == true)options++;
if(form.choice10524[4-1].checked == true)options++;
if(form.choice10524[5-1].checked == true)options++;
if(form.choice10524[6-1].checked == true)options++;
if(form.choice10524[7-1].checked == true)options++;
if(form.choice10524[8-1].checked == true)options++;
if(form.choice10524[9-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";
var options = 0;var answers_num = 0;
if(form.choice10526[1-1].checked == true)options++;
if(form.choice10526[2-1].checked == true)options++;
if(form.choice10526[3-1].checked == true)options++;
if(form.choice10526[4-1].checked == true)options++;
if(form.choice10526[5-1].checked == true)options++;
if(form.choice10526[6-1].checked == true)options++;
if(form.choice10526[7-1].checked == true)options++;
if(form.choice10526[8-1].checked == true)options++;
if(form.choice10526[9-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 8.\n";
var options = 0;var answers_num = 0;
if(form.choice10529[1-1].checked == true)options++;
if(form.choice10529[2-1].checked == true)options++;
if(form.choice10529[3-1].checked == true)options++;
if(form.choice10529[4-1].checked == true)options++;
if(form.choice10529[5-1].checked == true)options++;
if(form.choice10529[6-1].checked == true)options++;
if(form.choice10529[7-1].checked == true)options++;
if(form.choice10529[8-1].checked == true)options++;
if(form.choice10529[9-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 10.\n";
var options = 0;var answers_num = 0;
if(form.choice10531[1-1].checked == true)options++;
if(form.choice10531[2-1].checked == true)options++;
if(form.choice10531[3-1].checked == true)options++;
if(form.choice10531[4-1].checked == true)options++;
if(form.choice10531[5-1].checked == true)options++;
if(form.choice10531[6-1].checked == true)options++;
if(form.choice10531[7-1].checked == true)options++;
if(form.choice10531[8-1].checked == true)options++;
if(form.choice10531[9-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.choice10534[1-1].checked == true)options++;
if(form.choice10534[2-1].checked == true)options++;
if(form.choice10534[3-1].checked == true)options++;
if(form.choice10534[4-1].checked == true)options++;
if(form.choice10534[5-1].checked == true)options++;
if(form.choice10534[6-1].checked == true)options++;
if(form.choice10534[7-1].checked == true)options++;
if(form.choice10534[8-1].checked == true)options++;
if(form.choice10534[9-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 14.\n";
if(form.user_email.value == "") alertmsg = alertmsg + "Please enter your Email Address.\n";
if (alertmsg == 'Online Registration Form: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
