// this file is dynamically generated
function validatefields1114(form){
var alertmsg = 'I WOULD LIKE TO THROW A WEDDING SHOWER FOR: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext10330.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext10331.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
if(form.answertext10332.value == "") alertmsg = alertmsg + "Please answer question # 3.\n";
var options = 0;var answers_num = 0;
if(form.choice10633[1-1].checked == true)options++;
if(form.choice10633[2-1].checked == true)options++;
if(form.choice10633[3-1].checked == true)options++;
if(form.choice10633[4-1].checked == true)options++;
if(form.choice10633[5-1].checked == true)options++;
if(form.choice10633[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 # 4.\n";
var options = 0;var answers_num = 0;
if(form.choice10634[1-1].checked == true)options++;
if(form.choice10634[2-1].checked == true)options++;
if(form.choice10634[3-1].checked == true)options++;
if(form.choice10634[4-1].checked == true)options++;
if(form.choice10634[5-1].checked == true)options++;
if(form.choice10634[6-1].checked == true)options++;
if(form.choice10634[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 # 5.\n";
if(form.answertext10334.value == "") alertmsg = alertmsg + "Please answer question # 6.\n";
var options = 0;var answers_num = 0;
if(form.choice10337[1-1].checked == true)options++;
if(form.choice10337[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 # 7.\n";
if(form.answertext10341.value == "") alertmsg = alertmsg + "Please answer question # 8.\n";
if(form.answertext10340.value == "") alertmsg = alertmsg + "Please answer question # 9.\n";
if(form.user_email.value == "") alertmsg = alertmsg + "Please enter your Email Address.\n";
if (alertmsg == 'I WOULD LIKE TO THROW A WEDDING SHOWER FOR: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
