﻿<!--
function validateForm(theForm)
{
	if (!validRequired(theForm.firstname,"First name"))
		return false;
	if (!validRequired(theForm.lastname,"Last name"))
		return false;
	if (!validRequired(theForm.affiliation,"Company"))
		return false;
	if (!validSelected(theForm.jobtitle,"Job title"))
		return false;
	if (!validOther(theForm.jobtitle,theForm.otherjobtitle,"Other job title"))
		return false;
	if (!validRequired(theForm.address1,"Address line 1"))
		return false;
	if (!validRequired(theForm.city,"City"))
		return false;
	if (!validRequired(theForm.state,"State"))
		return false;
	if (!validRequired(theForm.zip,"ZIP"))
		return false;
	if (!validSelected(theForm.country,"Country"))
		return false;
	if (!validRequired(theForm.phone,"Phone"))
		return false;
	if (!validRequired(theForm.email,"E-mail"))
		return false;
	if (!validEmail(theForm.email,"E-mail",true))
		return false;
	if (!validRequired(theForm.email2,"Confirm e-mail"))
		return false;
	if (!validEmail(theForm.email2,"Confirm e-mail",true))
		return false;
	if (!compareEmail(theForm.email,theForm.email2))
		return false;
	if (!validSelected(theForm.sector,"Primary industry/sector"))
		return false;
	if (!validOther(theForm.sector,theForm.othersector,"Other primary industry/sector"))
		return false;
	if (!validSelected(theForm.industry,"Topic of most interest"))
		return false;
	if (!validOther(theForm.industry,theForm.otherindustry,"Other topic of most interest"))
		return false;
	if (!validSelected(theForm.involvment,"Primary involvement in sector"))
		return false;
	if (!validOther(theForm.involvment,theForm.otherinvolvment,"Other primary involvement in sector"))
		return false;
	if (!validSelected(theForm.employee,"Number of employees"))
		return false;
	return true;
}
-->
