How do I stop the JavaScript from resetting my fields when it finds an error in one of the other fields?

I have the below code in one of my ColdFusion pages, and I am using JavaScript to check each field to make sure the form is completely filled out.  However, every time it finds an error, it submits the form back to the same page, and posts the values into the URL.

I would rather it just stopped the user from continuing until he/she has completely filled out the form.  What do I need to change to do this?

Thanks in advance, Jon
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="SelectProgram"
			    Name2="SelectVolume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="SelectDate" ID="SelectDate" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4">
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>	
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue &gt;&gt;&gt;" onClick="checkForm(this.form);">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
	
<!-- JavaScript: Dynamically Select the ActionForm's New ActionURL -->
	<SCRIPT TYPE="text/javascript">
		function OnSubmitActionForm(NewActionURL)
		{
			document.ActionForm.action = NewActionURL.value;
		}
		<!-- Put the following code in the submit button's code: onClick="OnSubmitActionForm(this.form.SelectAction);" -->
	</SCRIPT>
 
<!-- JavaScript: ??? -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

Jon BredensteinerProject ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

strickddCommented:
wihtout rewriting your code to much, the paradigm below should demonstrate how to do this.
<input type="button" onclick="return ValidateFields();"/>
 
<script type="text/javascript">
   function ValidateFields()
   {
      //Check fields to see if they are valid
      if(fieldsAreValid)
         return true;
      else
         return false;
    }
</script>

Open in new window

0
Jon BredensteinerProject ManagerAuthor Commented:
Sorry, are you saying to replace the below code with your code?
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>

Open in new window

0
_agx_Commented:
>  if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
>        alert("Please select the Program.");
>        return false;

To elaborate a bit more, your "checkForm" function returns "false" when the form should not be submitted.  But you are not capturing that response anywhere.  That is why the form is always submitted.  

Either use the button approach mentioned above, or capture the response in the cfform's onSubmit method.  See the attached example. If you leave the default values, the form will NOT submit.  If you change them both, the form will be submitted.






<script>
	function checkForm()
	{
		if (document.getElementById('vegetable').value == "potato") 
		{
			alert("The vegetable value is 'potato'. Do not submit the form!");
			// do not submit the form
			return false;
		}
		
		if (document.getElementById('fruit').value == "apples") 
		{
			alert("The fruit value is 'apples'. Do not submit the form!");
			// do not submit the form
			return false;
		}
		// Otherwise, submit the form
		return true;
	}
</script>
<cfform method="get" onsubmit="return checkForm();">
	If the value is "apples", the form will NOT submit. <br>
	If the value is NOT "apples", the form will submit.<br>
	<input type="text" name="vegetable" id="vegetable" value="potato">
	<input type="text" name="fruit" id="fruit" value="apples">
	<INPUT TYPE="submit" NAME="Continue" VALUE="Continue &gt;&gt;&gt;">
</cfform>

Open in new window

0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Jon BredensteinerProject ManagerAuthor Commented:
I really don't know JavaScript, and I'm still pretty new to ColdFusion, so you may have to be more specific...  Sorry

I tried both of your suggestions, but I must have done it wrong, because nothing happened
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm" onclick="return ValidateFields();">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="SelectProgram"
			    Name2="SelectVolume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="SelectDate" ID="SelectDate" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4">
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>	
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue &gt;&gt;&gt;">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
-->
<!-- JavaScript: Error Checking - Check Form Fields for Values 
	<script>
		function checkForm()
		{
			if (document.getElementById('SelectProgram').value == "Program Selection") 
			{
				alert("Please select the Program.");
				// do not submit the form
				return false;
			}
			
			if (document.getElementById('SelectVolume').value == "Volume Selection") 
			{
				alert("Please select the Volume.");
				// do not submit the form
				return false;
			}
			if (document.getElementById('SelectDate').value == "apples") 
			{
				alert("Please select a Meeting Date.");
				// do not submit the form
				return false;
			}
			if (document.getElementById('SelectAction').value == "Attendance Tracking Options List") 
			{
				alert("Please select an Action.");
				// do not submit the form
				return false;
			}
			// Otherwise, submit the form
			return true;
		}
	</script>
-->
 
<script type="text/javascript">
   function ValidateFields()
   {
      //Check fields to see if they are valid
      if(fieldsAreValid)
         return true;
      else
         return false;
    }
</script>
 
 
<!-- JavaScript: Dynamically Select the ActionForm's New ActionURL -->
	<SCRIPT TYPE="text/javascript">
		function OnSubmitActionForm(NewActionURL)
		{
			document.ActionForm.action = NewActionURL.value;
		}
		<!-- Put the following code in the submit button's code: onClick="OnSubmitActionForm(this.form.SelectAction);" -->
	</SCRIPT>
 
<!-- JavaScript: ??? -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
_agx_Commented:
No problem.  Since you said the original code was working, take the original code, but try replacing this line:

<CFFORM METHOD="Get" NAME="ActionForm">

With this:

<CFFORM METHOD="Get" NAME="ActionForm" Onsubmit="return checkForm(this);">
0
Jon BredensteinerProject ManagerAuthor Commented:
Darn, that was easy, but it didn't work; it still resubmitted the page to itself...
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm" Onsubmit="return checkForm(this);">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="SelectProgram"
			    Name2="SelectVolume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="SelectDate" ID="SelectDate" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue &gt;&gt;&gt;" onClick="checkForm(this.form);">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
	
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
_agx_Commented:
Let me try something.  Give me a few minutes...
0
_agx_Commented:
Try passing in the form name instead of "this".  Change this line:

<CFFORM METHOD="Get" NAME="ActionForm" Onsubmit="return checkForm(this);">

To this:

<CFFORM METHOD="Get" NAME="ActionForm" checkForm(document.ActionForm);">
0
Jon BredensteinerProject ManagerAuthor Commented:
Did you mean to have the " at the end just before the >
and did you mean to leave off the ONSUBMIT

I'm guessing you meant for it to read:
<CFFORM METHOD="Get" NAME="ActionForm" ONSUBMIT="checkForm(document.ActionForm);">

I tried it as you typed it and also without the " and both ways returned the below error

---------------------------------------------------------------------------------------------------------------------------
Invalid token '(' found on line 85 at column 57.  
The CFML compiler was processing:

the tag attribute "checkForm", on line 85, column 48.
a CFFORM tag beginning on line 85, column 10.
 
 
The error occurred in I:\Websites\evtspatialpre\Attendance\Default.cfm: line 85
 
83 :
84 : <!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
85 :       <CFFORM METHOD="Get" NAME="ActionForm" checkForm(document.ActionForm);>
86 :       <TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
87 :             <TR>
---------------------------------------------------------------------------------------------------------------------------

I also tried it the way I typed it above with the ONSUBMIT, and then the page worked, but when I tested the validation it displayed the error message I have in the JavaScript, and when I selected Ok, it displayed the error message I have in the JavaScript again.

The URL doesn't change the first time I hit ok, which means it probably isn't resubmitting the page to itself in that instance.  However, after I select ok the second time, it resubmits the page to itself (i.e. the variables are posted in the URL and the fields are reset).

What do you suggest?  Thanks, Jon
Invalid token '(' found on line 85 at column 57.  
The CFML compiler was processing:
 
the tag attribute "checkForm", on line 85, column 48.
a CFFORM tag beginning on line 85, column 10.
 
  
The error occurred in I:\Websites\evtspatialpre\Attendance\Default.cfm: line 85
 
83 : 
84 : <!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
85 : 	<CFFORM METHOD="Get" NAME="ActionForm" checkForm(document.ActionForm);>
86 : 	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
87 : 		<TR>

Open in new window

0
_agx_Commented:
> I'm guessing you meant for it to read:

Yes, that was a copy + paste error.

> when I selected Ok, it displayed the error message I have in the JavaScript again

It runs fine for me.  Are you using the original code?  If the function is running twice it suggests you still have some of the new code (ie two versions of the checkForm function)  Try going back to the original code, then adding back only the <cfform...> change.

0
Jon BredensteinerProject ManagerAuthor Commented:
No, I do not have the new code in now, but I still had checkForm in the submit button's onClick:
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="checkForm(this.form);">

I removed the onClick checkForm, which left me with:
<CFFORM METHOD="Get" NAME="ActionForm" ONSUBMIT="checkForm(document.ActionForm);">

But it still resubmitted the values to itself, and it reset the values on the form.  Here is the entire code:
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm" ONSUBMIT="checkForm(document.ActionForm);">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="SelectProgram"
			    Name2="SelectVolume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="SelectDate" ID="SelectDate" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue &gt;&gt;&gt;">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: Dynamically Select the ActionForm's New ActionURL -->
	<SCRIPT TYPE="text/javascript">
		function OnSubmitActionForm(NewActionURL)
		{
			document.ActionForm.action = NewActionURL.value;
		}
		<!-- Put the following code in the submit button's code: onClick="OnSubmitActionForm(this.form.SelectAction);" -->
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
Michel PlungjanIT ExpertCommented:
Please use this (NOTE the return):

<CFFORM METHOD="Get" NAME="ActionForm" ONSUBMIT="return checkForm(this);">        


and remove

onClick="checkForm(this.form);"

from

<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="checkForm(this.form);">


ALSO remove
<!-- JavaScript: Dynamically Select the ActionForm's New ActionURL -->
      <SCRIPT TYPE="text/javascript">
            function OnSubmitActionForm(NewActionURL)
            {
                  document.ActionForm.action = NewActionURL.value;
            }
            <!-- Put the following code in the submit button's code: onClick="OnSubmitActionForm(this.form.SelectAction);" -->
      </SCRIPT>

since it is not used and can confuse
 

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jon BredensteinerProject ManagerAuthor Commented:
Man, thanks for sticking with it guys ;)

Unfortunately, it still submits the form back to itself and resets the form...

I'm pretty sure I changed everything you asked me to change, but maybe I missed something (see below).
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="SelectProgram"
			    Name2="SelectVolume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="SelectDate" ID="SelectDate" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="checkForm(this.form);">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
_agx_Commented:
Hi,

I am pretty sure mplungjan's is correct. But you missed a few things from their post:

         1.  Fix the cfform tag.  Change this:
         <CFFORM METHOD="Get" NAME="ActionForm">

          To:
         <CFFORM METHOD="Get" NAME="ActionForm" ONSUBMIT="return checkForm(this);">


          2.  But also remove the checkForm function from the submit button. Change this:
              <INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="checkForm(this.form);">

           To:
           <INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" >

0
Jon BredensteinerProject ManagerAuthor Commented:
Sorry, for some reason I thought he said to remove the ONSUBMIT="return checkForm(this);", but now that I've read it again I see it is clear as day that he said to leave it the way with it was and to remove it from the return.  I did the exact opposite of what he said...  I need to wake up ;)

Okay, it still submits the form back to itself and resets the fields, but now it doesn't display the warnings anymore.
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm" ONSUBMIT="return checkForm(this);">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="SelectProgram"
			    Name2="SelectVolume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="SelectDate" ID="SelectDate" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
Jon BredensteinerProject ManagerAuthor Commented:
Also, now the form only submits the data to itself.  Even when I enter correct data into each field, it still submits the data to itself.
0
Jon BredensteinerProject ManagerAuthor Commented:
The errors work and the page submits correctly (when filled out correctly) if I keep the ONSUBMIT="return checkForm(this);" in the return button instead of the form header (whatever it is called).
0
Michel PlungjanIT ExpertCommented:
Can you show the generated HTML when you have the onSubmit in the FORM
it is by the way onClick in the button and not onSubmit - but onSubmit in the form tag is better
0
Jon BredensteinerProject ManagerAuthor Commented:
If you think I should go back to onSubmit in the FORM instead of onClick in the button, then I will.  I only changed it back because it got worse when I made the switch last time.

Here is the code as I am currently using it (onClick), and the code I tried last time is attached to my 24503831 post.

Thanks again for your help; I'm sure you are running out of steam by now...
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="SelectProgram"
			    Name2="SelectVolume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="SelectDate" ID="SelectDate" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="checkForm(this.form);">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.SelectProgram.value=="" || objForm.SelectProgram.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.SelectVolume.value=="" || objForm.SelectVolume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.SelectDate.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
Jon BredensteinerProject ManagerAuthor Commented:
What if I simply changed the fields from <INPUT> to <CFINPUT>, and added REQUIRED="yes" MESSAGE="Enter the freakin data I asked for"?

Would that work?  I think it might work; I'd just need to add Message1 & Message2 to the CF_TwoSelectsRelated field.

There has to be some drawback to doing this, or I'm guessing you guys would have told me to stop wasting your time with the JavaScript ;)
0
Michel PlungjanIT ExpertCommented:
you KEEP forgetting the freakin RETURN !!! ;)

EITHER

<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="return checkForm(this.form);">

OR

<CFFORM METHOD="Get" NAME="ActionForm" onSubmit="return checkForm(this);">

Please note the difference between the (this.form) on the form element and (this) on the form tag

0
Jon BredensteinerProject ManagerAuthor Commented:
I'm sorry for taking so long to respond; my manager pulled me away on a special assignment...

Anyway... I am retarded; I see now that I kept missing the "return" and I'm sure I missed the "this vs this.form" too.  I got it to work finally, but I could only get it to work using the onClick in the submit button instead of the onSubmit, which works for me :)

I tried this first, but it only resubmitted the values to itself
<CFFORM METHOD="Get" NAME="ActionForm" onSubmit="return checkForm(this);">
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>">

I also tried changing "get" to "post" to see if that might work, but it didn't
<CFFORM METHOD="Post" NAME="ActionForm" onSubmit="return checkForm(this);">
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>">

In the end, this is what worked:
<CFFORM METHOD="Get" NAME="ActionForm">
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="return checkForm(this.form);">
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow" COLSPAN=1>Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="Program"
			    Name2="Volume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="Date" ID="Date" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="return checkForm(this.form);">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.Program.value=="" || objForm.Program.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.Volume.value=="" || objForm.Volume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.Date.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
Jon BredensteinerProject ManagerAuthor Commented:
Thank you for putting up with me for so long :)
0
Michel PlungjanIT ExpertCommented:
that is VERY strange
I wonder what the HTML would look like on the onSubmit version
Could you view-source and paste that here?
0
Jon BredensteinerProject ManagerAuthor Commented:
Okay, no problem...

Here is what the source looks like when I use the code from the solution:
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="return checkForm(this.form);">

I'll change it back to onSubmit now, and then post it next...

 
 
	
		
		
		
		
		
		
	
 
 
 
 
 
 
 
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
 
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	
		
	
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	
		
		
		
	
 
 
 
 
<!-- Query: Get Volumes by Program -->
 
 
 
<!-- Query: Get Action Options -->
 
 
 
 
 
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
<script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>
<script type="text/javascript">
<!--
    function  _CF_checkActionForm(_CF_this)
    {
        //reset on submit
        _CF_error_exists = false;
        _CF_error_messages = new Array();
        _CF_error_fields = new Object();
        _CF_FirstErrorField = null;
 
 
        //display error messages and return success
        if( _CF_error_exists )
        {
            if( _CF_error_messages.length > 0 )
            {
                // show alert() message
                _CF_onErrorAlert(_CF_error_messages);
                // set focus to first form error, if the field supports js focus().
                if( _CF_this[_CF_FirstErrorField].type == "text" )
                { _CF_this[_CF_FirstErrorField].focus(); }
 
            }
            return false;
        }else {
            return true;
        }
    }
//-->
</script>
</HEAD>
 
 
 
 
<BODY>
			<div id="header">
 
			<a id="logoBoeing" href="http://inside.boeing.com"><img src="_images/logo90wb.gif" alt="Boeing logo that links to inside.boeing.com" border="0" height="90" width="200" title="Boeing Home" /></a>
			<a id="pageTitle" href="/"><img src="_images/bz-adv-combo.jpg" alt="Advanced Template" border="0" height="90" width="560" /></a>
 
			<!-- ## BEGIN PRINT ONLY ## -->
			<img id="logoBoeingPrint" src="_images/logo90wb_black.gif" alt="Boeing Home" border="0" height="90" width="200" title="Boeing Home" />
			<span id="pageTitlePrint">747/767/777 Spatial Integration</span>
			<!-- ## END PRINT ONLY ## -->
			
		</div><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
				<!-- ### BEGIN LEFT SECTION ### -->
			<div id="leftSection">
	
				<!-- ### BEGIN SEARCH ### -->
				<div id="searchBox">
					<form method="get" class="searchForm" action="http://googleweb.cs.boeing.com/search">
						<input class="searchField" type="text" name="q" value="&nbsp;Search This Site" alt="Search This Site" size="18" maxlength="180" onfocus="this.value='';" />
						<input type="hidden" name="client" value="boeing" />
						<input type="hidden" name="output" value="xml_no_dtd" />
						<input type="hidden" name="proxystylesheet" value="boeing" />
						<input type="hidden" name="site" value="boeing" />
						<input id="googlesearch" type="hidden" name="sitesearch" value="evtspatial.web.boeing.com" />
						<input class="searchButton" name="btnG" type="image" src="_images/searchbutton.gif" align="middle" alt="Search This Site" title="Search This Site" />
					</form>
				</div>
				<!-- ### END SEARCH ### -->
 
				<!-- ### BEGIN VERTICAL NAVIGATION ### -->				
				<ul id="menuVertical">
 
					<li id="home"><a href="../default.cfm" title="" tabindex="">Spatial Integration Home</a></li>
					
 
 
					<!-- ### BEGIN VERTICAL MENU ITEM ONE ### -->
					<li id="menuItemOne"><a class="arrow" href="../processdocs.cfm">Process Overview</a>
						<ul>
							<li><a href="http://spatial.web.boeing.com/NEW_SIP//index.asp">Spatial Integration Process Guide</a></li>
						</ul>
					</li>
					<!-- ### END VERTICAL MENU ITEM ONE ### -->
 
  
					<!-- ### BEGIN VERTICAL MENU ITEM TWO ### -->
					<li><a class="arrow" href="../currentprogrs.cfm">Programs </a>
					  <ul>
					  <li><a href="../747-8ICurrent.cfm">747-8I</a></li>
					  <li><a href="../747-8FCurrent.cfm">747-8F</a></li>
					  <li><a href="../767Current.cfm">767</a></li>
					  <li><a href="../777Current.cfm">777</a></li>
					  </ul>
					   <!-- ### END VERTICAL MENU ITEM TWO ### -->
					  
				<!-- ### BEGIN VERTICAL MENU ITEM THREE ### -->
				<!-- ### END VERTICAL MENU ITEM THREE ### -->
					
					<!-- ### BEGIN VERTICAL MENU ITEM THREE ### -->
				  <li><a href="http://evtspatialpre.web.boeing.com/IVTPilotRequest/default.cfm">Schedule a Design Review </a>		 	 	  </li>
				
					<!-- ### END VERTICAL MENU ITEM THREE ### -->
										<!-- ### BEGIN VERTICAL MENU ITEM THREE ### -->
					<li><a href="../ActionItemDB/default.cfm">Action Item Database </a>   			 	 	</li>
					<li><a href="../BracketManager/default.cfm">BracketManager Database </a>   			 	 	</li>
				
					<!-- ### END VERTICAL MENU ITEM THREE ### -->
					<li><a href="SIaccomplishments.cfm">Accomplishments </a>					</li>
					<li><a class="arrow" href="../OrgsAffil.cfm">Affiliate Organizations </a> 
					  <ul>
					    <li><a href="http://cpd.ca.boeing.com/">CPD Site Support </a> </li>
				        <li><a href="http://cpd.ca.boeing.com/EVTv4v5/">V4 / V5 Support </a></li>
						<li><a href="http://ivt.web.boeing.com/">IVT Team </a></li>
						<li><a href="http://spatial.web.boeing.com/NEW_SIP//index.asp">Spatial Integration Core </a></li>
					  </ul>
				  </li>
				 <li><a class="arrow" href="#">Training </a>
				 	  <ul>
					    <li><a href="../SIAI_Online_Training.pps">Using SIAI-Online Database</a></li>
					    <li><a href="http://cpd.ca.boeing.com/renton/seminar_presentations_1.htm">Links to Seminar Presentations </a></li>
						<li><a href="http://plmtraining.web.boeing.com/els_seminar/v4_v5_seminars/V4_to_V5_only/2008/EPIC_M_DPAWebShare_12-12-08.pdf">EPIC Model Content/DPA Webshare</a></li>
						<li><a href="http://plmtraining.web.boeing.com/els_seminar/v4_v5_seminars/V4_to_V5_only/2008/SpatialIntegrationOverviewDec_12_2008.pdf">Spatial Integration Process Overview</a></li>
						<li><a href="http://plmtraining.web.boeing.com/els_seminar/v4_v5_seminars/V4_to_V5_only/2008/IVT_Basic_12-11-08.pdf">IVT Basic</a></li>
				 	    <li><a href="http://plmtraining.web.boeing.com/v4_v5_seminar.htm">V4 to V5 Training Seminars</a></li>
				 	  </ul>
				  </li>
 
 
					<li><a href="../newcomms.cfm">Tip Sheets </a></li>
					<li><a href="../contact.cfm">Contact Us </a></li>
				
					<!-- ### END VERTICAL MENU ITEM ELEVEN ### -->
					
					
				      
		              <li id="printPage"><a href="#" onclick="window.print()" title="Print This Page">Print this page</a></li>
</ul>
				    <!-- ### END VERTICAL NAVIGATION ### -->
			</div><!-- Inserts the Left Navigation -->
 
	<DIV NOWRAP="nowrap" ID="menuHorizontal">
    
    <UL>
         <LI CLASS="active">
           <H2><A HREF="http://evtspatial.web.boeing.com" TITLE="">Everett Spatial Integration</A></H2>
    </UL>
    
    
    <UL>
         <LI CLASS="active"><H2><A HREF="#" TITLE="">Get Help!</A></H2>
              <UL>
                   <LI><A HREF="contact.cfm" TITLE="" TABINDEX="">Contacts</A></LI>
                   <LI><A HREF="..\underconst.cfm" TITLE="" TABINDEX="">FAQ</A></LI>
              </UL>
         </LI>
    </UL>
    
    
    <UL>
         <LI CLASS="active"><H2><A HREF="#" TITLE="">Ten-Minute Trainers</A></H2>
              <UL>
                   <LI><A HREF="../Spatial Integration Commodity Focal Training.ppt">Spatial Integration Focal Training</A></LI>
              </UL>
 
         </LI>
    </UL>
    
    
    <UL>
         <LI CLASS="active"><H2><A HREF="#" TITLE="">Feedback</A></H2>
              <UL>
                   <LI><A HREF="../contact.cfm">Email us</A></LI>
                   <LI><A HREF="mailto:jason.p.radke@boeing.com">Site Suggestions</A></LI>
              </UL>
         </LI>
    </UL>
    
</DIV>
 
<META NAME="04/17/2009" CONTENT="" />
<META NAME="Bredensteiner, Jon W." CONTENT="" /><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<form name="ActionForm" action="/Attendance/Default.cfm" method="Get" onsubmit="return _CF_checkActionForm(this)">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
	<SCRIPT LANGUAGE="JavaScript1.1">
	  // javascript code generated by the CF_TwoSelectsRelated Cold Fusion tag (Nate Weiss, 4/00)
		// loosely adapted from Nick Heinle's code originally at http://webreference.com/javascript/960902/select_boxes.html
	  var maxlength = 10;
	  OneA = new Array;
 
		var trueLength = OneA.length;  
		var lst = OneA.length;              
 
    function require_Program() {
		  with (document.ActionForm.Program) {
			  RetVal = true;
			  if (options[selectedIndex] == null) RetVal = false;
				  else RetVal = !(options[selectedIndex].value == '');
			  if (!RetVal) alert('You must choose an option for Program.');
				return RetVal
			}
		}
 
    function require_Volume() {
		  with (document.ActionForm.Volume) {
			  RetVal = true;
			  if (options[selectedIndex] == null) RetVal = false;
				  else RetVal = !(options[selectedIndex].value == '');
			  if (!RetVal) alert('You must choose an option for Volume.');
				return RetVal
			}
		}
		
		function require_ProgramAndVolume() {
		  return ((require_Program()) && (require_Volume()));
		}
		
				
		function ActionFormProgramChangeMenu() {
		   OneA.length = 0;
		   menuNum = document.ActionForm.Program.selectedIndex;
		   if (menuNum == null) return;  
       
 
 
 
 
 
 
 
 
 
	if (menuNum == 1) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 2) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 3) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("Aft Lower Lobe", "Aft Lower Lobe"); NewOpt[2] = new Option("Fwd Lower Lobe", "Fwd Lower Lobe"); NewOpt[3] = new Option("Sec 42 Upper Deck", "Sec 42 Upper Deck"); NewOpt[4] = new Option("Sec 42 Main Fwd", "Sec 42 Main Fwd"); NewOpt[5] = new Option("Sec 42 Main Aft", "Sec 42 Main Aft"); NewOpt[6] = new Option("Sec 44", "Sec 44"); NewOpt[7] = new Option("Sec 46 Fwd", "Sec 46 Fwd"); NewOpt[8] = new Option("Sec 46 Aft", "Sec 46 Aft"); NewOpt[9] = new Option("Sec 41", "Sec 41"); 
	} 
 
	if (menuNum == 4) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 5) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 6) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 7) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 8) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
 
 
 
 
  tot = NewOpt.length;
	lst = document.ActionForm.Volume.options.length;
	
	for (i = lst; i > 0; i--) {
	  document.ActionForm.Volume.options[i] = null;
	}
  for (i = 0; i < tot; i++) {
	  document.ActionForm.Volume.options[i] = NewOpt[i];
	}
  
	  document.ActionForm.Volume.options[0].selected = true;
	
}
</SCRIPT>
 
 
 
 
 
 
 
 
 
 
 
<SELECT NAME="Program" onChange="ActionFormProgramChangeMenu()" SIZE="1" >
 
	
	<OPTION VALUE="">Choose a Program
	
	<OPTION VALUE="747 Customer Intro" >747 Customer Intro<OPTION VALUE="747-8F" >747-8F<OPTION VALUE="747-8I" >747-8I<OPTION VALUE="767 Customer Intro" >767 Customer Intro<OPTION VALUE="767 Sustaining" >767 Sustaining<OPTION VALUE="777 Customer Intro" >777 Customer Intro<OPTION VALUE="777 Sustaining" >777 Sustaining<OPTION VALUE="777F" >777F
	
  
	
</SELECT>
 
 
 
</TD><TD>
 
 
<SELECT NAME="Volume" SIZE="1"  >
	
	<OPTION VALUE="">Choose a Volume
	
	
	
		
 
  
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
  
  
  
	
</SELECT>
 
 
 
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="Date" ID="Date" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				
				<OPTION VALUE="DDRAttNewA2S1.cfm">Print a Blank Attendance Roster</OPTION>
				
				<OPTION VALUE="DDRAttNewA1S1.cfm">Record Attendance</OPTION>
				
				<OPTION VALUE="DDRAttOldA1S1.cfm">View a Specific DDR Record</OPTION>
				
				<OPTION VALUE="DDRAttOldA6S1.cfm">View DDR History by Commodity</OPTION>
				
				<OPTION VALUE="DDRAttOldA2S1.cfm">View DDR History by Date Range</OPTION>
				
				<OPTION VALUE="DDRAttOldA5S1.cfm">View DDR History by IPT</OPTION>
				
				<OPTION VALUE="DDRAttOldA3S1.cfm">View DDR History by Program</OPTION>
				
				<OPTION VALUE="DDRAttOldA4S1.cfm">View DDR History by Volume</OPTION>
				
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="return checkForm(this.form);">
		</TH>
		</TR>
	</TABLE>
	</form>
 
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
<DIV ID="footer">
		<DIV CLASS="footerLinks">
			<DIV ID="footer-identity"></DIV>
			<P><A HREF="http://inside.boeing.com/" TABINDEX="">Inside Boeing</A> | <A HREF="http://my.boeing.com" TABINDEX="">MyBoeing</A> | <A HREF="mailto:jason.p.radke@boeing.com?subject=Spatial%20Integration%20Web%20Site%20Feedback" TABINDEX="">Web Site Feedback</A> | <A HREF="mailto:jason.p.radke@boeing.com?subject=Spatial%20Integration%20Web%20Site%20Content">Content Owner</A></P>
		</DIV>
		<DIV ID="footerText">
			<P>BOEING is a trademark of Boeing Management Company.</P>
			<P>Copyright &copy; 2008 Boeing. All rights reserved.</P>
		</DIV>
</DIV><!-- Page Footer --->
 
	</BODY>
 
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
 
 
 
 
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.Program.value=="" || objForm.Program.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.Volume.value=="" || objForm.Volume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.Date.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 ⬢ January</OPTION><OPTION VALUE="1">2000 ⬢ February</OPTION><OPTION VALUE="2">2000 ⬢ March</OPTION><OPTION VALUE="3">2000 ⬢ April</OPTION><OPTION VALUE="4">2000 ⬢ May</OPTION><OPTION VALUE="5">2000 ⬢ June</OPTION><OPTION VALUE="6">2000 ⬢ July</OPTION><OPTION VALUE="7">2000 ⬢ August</OPTION><OPTION VALUE="8">2000 ⬢ September</OPTION><OPTION VALUE="9">2000 ⬢ October</OPTION><OPTION VALUE="10">2000 ⬢ November</OPTION><OPTION VALUE="11">2000 ⬢ December</OPTION><OPTION VALUE="0">2001 ⬢ January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->

Open in new window

0
Jon BredensteinerProject ManagerAuthor Commented:
Here is what the source looks like using the following onSubmit

<CFFORM METHOD="Get" NAME="ActionForm" onSubmit="return checkForm(this);">
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>">

Both this post and my last post are from the "View Source" option in Internet Explorer; however, it is with the initial page being loaded.  I'm not sure if that is what you wanted, or if you wanted me to post the source after I have selected the submit button (i.e. after I hit submit and the page submits the data right back to itself).

 
 
	
		
		
		
		
		
		
	
 
 
 
 
 
 
 
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
 
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	
		
	
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	
		
		
		
	
 
 
 
 
<!-- Query: Get Volumes by Program -->
 
 
 
<!-- Query: Get Action Options -->
 
 
 
 
 
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
<script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>
<script type="text/javascript">
<!--
    function  _CF_checkActionForm(_CF_this)
    {
        //reset on submit
        _CF_error_exists = false;
        _CF_error_messages = new Array();
        _CF_error_fields = new Object();
        _CF_FirstErrorField = null;
 
 
        //display error messages and return success
        if( _CF_error_exists )
        {
            if( _CF_error_messages.length > 0 )
            {
                // show alert() message
                _CF_onErrorAlert(_CF_error_messages);
                // set focus to first form error, if the field supports js focus().
                if( _CF_this[_CF_FirstErrorField].type == "text" )
                { _CF_this[_CF_FirstErrorField].focus(); }
 
            }
            return false;
        }else {
            // run userdefined onSubmit javascript. 
            return checkForm(this);
            return true;
        }
    }
//-->
</script>
</HEAD>
 
 
 
 
<BODY>
			<div id="header">
 
			<a id="logoBoeing" href="http://inside.boeing.com"><img src="_images/logo90wb.gif" alt="Boeing logo that links to inside.boeing.com" border="0" height="90" width="200" title="Boeing Home" /></a>
			<a id="pageTitle" href="/"><img src="_images/bz-adv-combo.jpg" alt="Advanced Template" border="0" height="90" width="560" /></a>
 
			<!-- ## BEGIN PRINT ONLY ## -->
			<img id="logoBoeingPrint" src="_images/logo90wb_black.gif" alt="Boeing Home" border="0" height="90" width="200" title="Boeing Home" />
			<span id="pageTitlePrint">747/767/777 Spatial Integration</span>
			<!-- ## END PRINT ONLY ## -->
			
		</div><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
				<!-- ### BEGIN LEFT SECTION ### -->
			<div id="leftSection">
	
				<!-- ### BEGIN SEARCH ### -->
				<div id="searchBox">
					<form method="get" class="searchForm" action="http://googleweb.cs.boeing.com/search">
						<input class="searchField" type="text" name="q" value="&nbsp;Search This Site" alt="Search This Site" size="18" maxlength="180" onfocus="this.value='';" />
						<input type="hidden" name="client" value="boeing" />
						<input type="hidden" name="output" value="xml_no_dtd" />
						<input type="hidden" name="proxystylesheet" value="boeing" />
						<input type="hidden" name="site" value="boeing" />
						<input id="googlesearch" type="hidden" name="sitesearch" value="evtspatial.web.boeing.com" />
						<input class="searchButton" name="btnG" type="image" src="_images/searchbutton.gif" align="middle" alt="Search This Site" title="Search This Site" />
					</form>
				</div>
				<!-- ### END SEARCH ### -->
 
				<!-- ### BEGIN VERTICAL NAVIGATION ### -->				
				<ul id="menuVertical">
 
					<li id="home"><a href="../default.cfm" title="" tabindex="">Spatial Integration Home</a></li>
					
 
 
					<!-- ### BEGIN VERTICAL MENU ITEM ONE ### -->
					<li id="menuItemOne"><a class="arrow" href="../processdocs.cfm">Process Overview</a>
						<ul>
							<li><a href="http://spatial.web.boeing.com/NEW_SIP//index.asp">Spatial Integration Process Guide</a></li>
						</ul>
					</li>
					<!-- ### END VERTICAL MENU ITEM ONE ### -->
 
  
					<!-- ### BEGIN VERTICAL MENU ITEM TWO ### -->
					<li><a class="arrow" href="../currentprogrs.cfm">Programs </a>
					  <ul>
					  <li><a href="../747-8ICurrent.cfm">747-8I</a></li>
					  <li><a href="../747-8FCurrent.cfm">747-8F</a></li>
					  <li><a href="../767Current.cfm">767</a></li>
					  <li><a href="../777Current.cfm">777</a></li>
					  </ul>
					   <!-- ### END VERTICAL MENU ITEM TWO ### -->
					  
				<!-- ### BEGIN VERTICAL MENU ITEM THREE ### -->
				<!-- ### END VERTICAL MENU ITEM THREE ### -->
					
					<!-- ### BEGIN VERTICAL MENU ITEM THREE ### -->
				  <li><a href="http://evtspatialpre.web.boeing.com/IVTPilotRequest/default.cfm">Schedule a Design Review </a>		 	 	  </li>
				
					<!-- ### END VERTICAL MENU ITEM THREE ### -->
										<!-- ### BEGIN VERTICAL MENU ITEM THREE ### -->
					<li><a href="../ActionItemDB/default.cfm">Action Item Database </a>   			 	 	</li>
					<li><a href="../BracketManager/default.cfm">BracketManager Database </a>   			 	 	</li>
				
					<!-- ### END VERTICAL MENU ITEM THREE ### -->
					<li><a href="SIaccomplishments.cfm">Accomplishments </a>					</li>
					<li><a class="arrow" href="../OrgsAffil.cfm">Affiliate Organizations </a> 
					  <ul>
					    <li><a href="http://cpd.ca.boeing.com/">CPD Site Support </a> </li>
				        <li><a href="http://cpd.ca.boeing.com/EVTv4v5/">V4 / V5 Support </a></li>
						<li><a href="http://ivt.web.boeing.com/">IVT Team </a></li>
						<li><a href="http://spatial.web.boeing.com/NEW_SIP//index.asp">Spatial Integration Core </a></li>
					  </ul>
				  </li>
				 <li><a class="arrow" href="#">Training </a>
				 	  <ul>
					    <li><a href="../SIAI_Online_Training.pps">Using SIAI-Online Database</a></li>
					    <li><a href="http://cpd.ca.boeing.com/renton/seminar_presentations_1.htm">Links to Seminar Presentations </a></li>
						<li><a href="http://plmtraining.web.boeing.com/els_seminar/v4_v5_seminars/V4_to_V5_only/2008/EPIC_M_DPAWebShare_12-12-08.pdf">EPIC Model Content/DPA Webshare</a></li>
						<li><a href="http://plmtraining.web.boeing.com/els_seminar/v4_v5_seminars/V4_to_V5_only/2008/SpatialIntegrationOverviewDec_12_2008.pdf">Spatial Integration Process Overview</a></li>
						<li><a href="http://plmtraining.web.boeing.com/els_seminar/v4_v5_seminars/V4_to_V5_only/2008/IVT_Basic_12-11-08.pdf">IVT Basic</a></li>
				 	    <li><a href="http://plmtraining.web.boeing.com/v4_v5_seminar.htm">V4 to V5 Training Seminars</a></li>
				 	  </ul>
				  </li>
 
 
					<li><a href="../newcomms.cfm">Tip Sheets </a></li>
					<li><a href="../contact.cfm">Contact Us </a></li>
				
					<!-- ### END VERTICAL MENU ITEM ELEVEN ### -->
					
					
				      
		              <li id="printPage"><a href="#" onclick="window.print()" title="Print This Page">Print this page</a></li>
</ul>
				    <!-- ### END VERTICAL NAVIGATION ### -->
			</div><!-- Inserts the Left Navigation -->
 
	<DIV NOWRAP="nowrap" ID="menuHorizontal">
    
    <UL>
         <LI CLASS="active">
           <H2><A HREF="http://evtspatial.web.boeing.com" TITLE="">Everett Spatial Integration</A></H2>
    </UL>
    
    
    <UL>
         <LI CLASS="active"><H2><A HREF="#" TITLE="">Get Help!</A></H2>
              <UL>
                   <LI><A HREF="contact.cfm" TITLE="" TABINDEX="">Contacts</A></LI>
                   <LI><A HREF="..\underconst.cfm" TITLE="" TABINDEX="">FAQ</A></LI>
              </UL>
         </LI>
    </UL>
    
    
    <UL>
         <LI CLASS="active"><H2><A HREF="#" TITLE="">Ten-Minute Trainers</A></H2>
              <UL>
                   <LI><A HREF="../Spatial Integration Commodity Focal Training.ppt">Spatial Integration Focal Training</A></LI>
              </UL>
 
         </LI>
    </UL>
    
    
    <UL>
         <LI CLASS="active"><H2><A HREF="#" TITLE="">Feedback</A></H2>
              <UL>
                   <LI><A HREF="../contact.cfm">Email us</A></LI>
                   <LI><A HREF="mailto:jason.p.radke@boeing.com">Site Suggestions</A></LI>
              </UL>
         </LI>
    </UL>
    
</DIV>
 
<META NAME="04/17/2009" CONTENT="" />
<META NAME="Bredensteiner, Jon W." CONTENT="" /><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<form name="ActionForm" action="/Attendance/Default.cfm" method="Get" onsubmit="return _CF_checkActionForm(this)">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
	<SCRIPT LANGUAGE="JavaScript1.1">
	  // javascript code generated by the CF_TwoSelectsRelated Cold Fusion tag (Nate Weiss, 4/00)
		// loosely adapted from Nick Heinle's code originally at http://webreference.com/javascript/960902/select_boxes.html
	  var maxlength = 10;
	  OneA = new Array;
 
		var trueLength = OneA.length;  
		var lst = OneA.length;              
 
    function require_Program() {
		  with (document.ActionForm.Program) {
			  RetVal = true;
			  if (options[selectedIndex] == null) RetVal = false;
				  else RetVal = !(options[selectedIndex].value == '');
			  if (!RetVal) alert('You must choose an option for Program.');
				return RetVal
			}
		}
 
    function require_Volume() {
		  with (document.ActionForm.Volume) {
			  RetVal = true;
			  if (options[selectedIndex] == null) RetVal = false;
				  else RetVal = !(options[selectedIndex].value == '');
			  if (!RetVal) alert('You must choose an option for Volume.');
				return RetVal
			}
		}
		
		function require_ProgramAndVolume() {
		  return ((require_Program()) && (require_Volume()));
		}
		
				
		function ActionFormProgramChangeMenu() {
		   OneA.length = 0;
		   menuNum = document.ActionForm.Program.selectedIndex;
		   if (menuNum == null) return;  
       
 
 
 
 
 
 
 
 
 
	if (menuNum == 1) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 2) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 3) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("Aft Lower Lobe", "Aft Lower Lobe"); NewOpt[2] = new Option("Fwd Lower Lobe", "Fwd Lower Lobe"); NewOpt[3] = new Option("Sec 42 Upper Deck", "Sec 42 Upper Deck"); NewOpt[4] = new Option("Sec 42 Main Fwd", "Sec 42 Main Fwd"); NewOpt[5] = new Option("Sec 42 Main Aft", "Sec 42 Main Aft"); NewOpt[6] = new Option("Sec 44", "Sec 44"); NewOpt[7] = new Option("Sec 46 Fwd", "Sec 46 Fwd"); NewOpt[8] = new Option("Sec 46 Aft", "Sec 46 Aft"); NewOpt[9] = new Option("Sec 41", "Sec 41"); 
	} 
 
	if (menuNum == 4) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 5) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 6) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 7) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
	if (menuNum == 8) {
	  NewOpt = new Array;
		NewVal = new Array;
    
    NewOpt[0] = new Option("Choose a Volume", ""); 
    NewOpt[1] = new Option("", ""); 
	} 
 
 
 
 
 
  tot = NewOpt.length;
	lst = document.ActionForm.Volume.options.length;
	
	for (i = lst; i > 0; i--) {
	  document.ActionForm.Volume.options[i] = null;
	}
  for (i = 0; i < tot; i++) {
	  document.ActionForm.Volume.options[i] = NewOpt[i];
	}
  
	  document.ActionForm.Volume.options[0].selected = true;
	
}
</SCRIPT>
 
 
 
 
 
 
 
 
 
 
 
<SELECT NAME="Program" onChange="ActionFormProgramChangeMenu()" SIZE="1" >
 
	
	<OPTION VALUE="">Choose a Program
	
	<OPTION VALUE="747 Customer Intro" >747 Customer Intro<OPTION VALUE="747-8F" >747-8F<OPTION VALUE="747-8I" >747-8I<OPTION VALUE="767 Customer Intro" >767 Customer Intro<OPTION VALUE="767 Sustaining" >767 Sustaining<OPTION VALUE="777 Customer Intro" >777 Customer Intro<OPTION VALUE="777 Sustaining" >777 Sustaining<OPTION VALUE="777F" >777F
	
  
	
</SELECT>
 
 
 
</TD><TD>
 
 
<SELECT NAME="Volume" SIZE="1"  >
	
	<OPTION VALUE="">Choose a Volume
	
	
	
		
 
  
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
      <OPTION VALUE="">
    
  
  
  
	
</SELECT>
 
 
 
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="Date" ID="Date" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				
				<OPTION VALUE="DDRAttNewA2S1.cfm">Print a Blank Attendance Roster</OPTION>
				
				<OPTION VALUE="DDRAttNewA1S1.cfm">Record Attendance</OPTION>
				
				<OPTION VALUE="DDRAttOldA1S1.cfm">View a Specific DDR Record</OPTION>
				
				<OPTION VALUE="DDRAttOldA6S1.cfm">View DDR History by Commodity</OPTION>
				
				<OPTION VALUE="DDRAttOldA2S1.cfm">View DDR History by Date Range</OPTION>
				
				<OPTION VALUE="DDRAttOldA5S1.cfm">View DDR History by IPT</OPTION>
				
				<OPTION VALUE="DDRAttOldA3S1.cfm">View DDR History by Program</OPTION>
				
				<OPTION VALUE="DDRAttOldA4S1.cfm">View DDR History by Volume</OPTION>
				
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>">
		</TH>
		</TR>
	</TABLE>
	</form>
 
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
<DIV ID="footer">
		<DIV CLASS="footerLinks">
			<DIV ID="footer-identity"></DIV>
			<P><A HREF="http://inside.boeing.com/" TABINDEX="">Inside Boeing</A> | <A HREF="http://my.boeing.com" TABINDEX="">MyBoeing</A> | <A HREF="mailto:jason.p.radke@boeing.com?subject=Spatial%20Integration%20Web%20Site%20Feedback" TABINDEX="">Web Site Feedback</A> | <A HREF="mailto:jason.p.radke@boeing.com?subject=Spatial%20Integration%20Web%20Site%20Content">Content Owner</A></P>
		</DIV>
		<DIV ID="footerText">
			<P>BOEING is a trademark of Boeing Management Company.</P>
			<P>Copyright &copy; 2008 Boeing. All rights reserved.</P>
		</DIV>
</DIV><!-- Page Footer --->
 
	</BODY>
 
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
 
 
 
 
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.Program.value=="" || objForm.Program.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.Volume.value=="" || objForm.Volume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.Date.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 ⬢ January</OPTION><OPTION VALUE="1">2000 ⬢ February</OPTION><OPTION VALUE="2">2000 ⬢ March</OPTION><OPTION VALUE="3">2000 ⬢ April</OPTION><OPTION VALUE="4">2000 ⬢ May</OPTION><OPTION VALUE="5">2000 ⬢ June</OPTION><OPTION VALUE="6">2000 ⬢ July</OPTION><OPTION VALUE="7">2000 ⬢ August</OPTION><OPTION VALUE="8">2000 ⬢ September</OPTION><OPTION VALUE="9">2000 ⬢ October</OPTION><OPTION VALUE="10">2000 ⬢ November</OPTION><OPTION VALUE="11">2000 ⬢ December</OPTION><OPTION VALUE="0">2001 ⬢ January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->

Open in new window

0
_agx_Commented:
> but I could only get it to work using the onClick in the submit button instead of the onSubmit
>....
>>>   that is VERY strange

It due to the cfform validation.  The "this" object does not seem to represent the form object anymore within the context of cfform's validation.  That is why I suggested using the explicit form reference earlier (instead of "this").

     <CFFORM METHOD="Get" NAME="ActionForm" checkForm(document.ActionForm);">
0
_agx_Commented:
Correction:  ;-)   (Though using DOM syntax would be better)

<CFFORM METHOD="Get" NAME="ActionForm" onSubmit="return checkForm(document.ActionForm);">
0
Jon BredensteinerProject ManagerAuthor Commented:
Cool, it worked that time :)
I'm not really sure what the difference is, but I'll take your word for it that it is better this way, because I obviously have no idea what way is best at this point ;)

So, for anyone that uses this thread in the future...

This works:
<CFFORM METHOD="Get" NAME="ActionForm">
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>" onClick="return checkForm(this.form);">


But, this works more efficiently (I think):
<CFFORM METHOD="Get" NAME="ActionForm" onSubmit="return checkForm(document.ActionForm);">
<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>">
<!--- Put an ! before "DOCTYPE" below, and the page will look better in FireFox, but worse in IE --->
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="en" LANG="en">
 
<!-------------------------------------------------- Session Variables ------------------------------------------->
<!-- Session From: Authenticate.cfm --> <!-- Verify that the user has permission to perform this task -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET AccessLevel = Session.AccessLevel>
	</CFLOCK>
		
<!-- If they do not have access, send them to AccessDenied.cfm -->
		<CFIF AccessLevel LT 1>
			<CFLOCATION URL="AccessDenied.cfm">
		</CFIF>
 
<!-- Session From: Authenticate.cfm --> <!-- Convert Session to Local Variables -->
	<CFLOCK SCOPE="Session" TYPE="readonly" TIMEOUT=2>
		<CFSET FName = Session.FName>
		<CFSET LName = Session.LName>
		<CFSET BEMSID = Session.BEMSID>
	</CFLOCK>
<!-------------------------------------------------- End Session Variables -------------------->
 
 
<!-------------------------------------------------- Data Queries ------------------------------------------------>
<!-- Query: Get Volumes by Program -->
<CFQUERY NAME="getProgramVolume" DATASOURCE="EvtSpatial">
	SELECT tblPilotProgramList.Program AS Program, tblVolumeList.Volume AS Volume, tblVolumeList.Program AS VProgram
	FROM tblPilotProgramList LEFT JOIN tblVolumeList on tblPilotProgramList.Program = tblVolumeList.Program
	ORDER BY Program
</CFQUERY>
 
 
<!-- Query: Get Action Options -->
<CFQUERY NAME="getActions" DATASOURCE="EvtSpatial">
	SELECT AttFormActionID, AttFormAction, AttFormActionURL
	FROM tblListAttFormAction
	ORDER BY AttFormAction
</CFQUERY>
<!-------------------------------------------------- End Data Queries -------------------->
 
 
<!-------------------------------------------------- Begin Head -------------------------------------------------->
<HEAD>
	<TITLE>Everett Spatial Integration Action Items</TITLE>
 
	<META HTTP-EQUIV="Web-database app" CONTENT="text/html; charset=utf-8" />
	<META NAME="Boeing Brand Center" CONTENT="" />
	<META NAME="Action Item Database" CONTENT="" />
	<META NAME="Jon Bredensteiner" CONTENT="" />
	<META NAME="Description" CONTENT="Pilot Request Database for Everett Programs CPD Site Support" />
	<META NAME="03/11/2009" CONTENT="" />
	<META NAME="Bredensteiner, Jon W." CONTENT="" />
	<META NAME="robots" CONTENT="None" />
	<META HTTP-EQUIV="03/11/2011" CONTENT="-1"/>
 
 
<!-- Begin CSS -->
	<LINK REL="stylesheet" HREF="_css/styles.css" TYPE="text/css" />
	<LINK REL="stylesheet" HREF="_css/print.css" TYPE="text/css" MEDIA="print" />
	<LINK REL="stylesheet" HREF="_css/style.css" TYPE="text/css" />
<!-- End CSS -->
</HEAD>
<!-------------------------------------------------- End Headder -------------------->
 
 
<!-------------------------------------------------- Begin Body -------------------------------------------------->
<BODY>
	<CFINCLUDE TEMPLATE="_includes/header.cfm"><!-- Top Navigation -->
	
	<DIV ID="mainSection">
 
	<CFINCLUDE TEMPLATE="_includes/left_nav.cfm"><!-- Inserts the Left Navigation -->
 
	<CFINCLUDE TEMPLATE="_includes/top_nav.cfm"><!-- Inserts the Horizontal Navigation -->
 
	<DIV ID="personalityZone45"></DIV><!-- Inserts the Website Welcome Header -->
	
	<DIV ID="mainContent">
 
	<P ALIGN="left" STYLE="font-size:100%"><STRONG>DDR Meeting Attendance Homepage</STRONG></P> <!-- Page Title -->
 
 
<!-- ---------------------------------------- Main Table or Text Goes Here ---------------------------------------- -->
	<CFFORM METHOD="Get" NAME="ActionForm" onSubmit="return checkForm(document.ActionForm);">
	<TABLE BORDER="1" WIDTH="*" CELLPADDING=5 CELLSPACING=0 BORDERCOLOR="black" CLASS="left">
		<TR>
		<TH NOWRAP="nowrap" VALIGN="middle" ALIGN="center"CLASS="required" COLSPAN=3>MEETING INFORMATION </TH>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Program</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Volume</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Meeting Date</TD>
		</TR>
 
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal" COLSPAN="1" >
			<CF_TwoSelectsRelated
			    Name1="Program"
			    Name2="Volume"
			    Query="getProgramVolume"
			    Value1="Program"
			    Value2="Volume"
			    Display1="Program"
			    Display2="Volume"
			    EMPTYTEXT1="Choose a Program"
			    EMPTYTEXT2="Choose a Volume"
			    FORMNAME="ActionForm"
			    HTMLBETWEEN="</TD><TD>">
		</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="normal">
			<INPUT TABINDEX="3" TYPE="text" NAME="Date" ID="Date" SIZE="15" onFocus="getCalendarFor(this); this.blur()" CLASS="textfield">
		</TD>
		</TR>
		
		<TR>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="center" CLASS="headerrow">Action</TD>
		<TD NOWRAP="nowrap" WIDTH="*" VALIGN="middle" ALIGN="left" CLASS="normal" COLSPAN="2">
			<SELECT NAME="SelectAction" ID="SelectAction" TABINDEX="4" >
				<OPTION>Attendance Tracking Options List</OPTION>
				<CFOUTPUT QUERY="getActions">
				<OPTION VALUE="#AttFormActionURL#">#AttFormAction#</OPTION>
				</CFOUTPUT>
			</SELECT>
		</TD>
		</TR>
		
		<TR>
		<TH CLASS="required" COLSPAN=3>
			<INPUT TYPE="submit" NAME="Continue" VALUE="Continue >>>">
		</TH>
		</TR>
	</TABLE>
	</CFFORM>
<!-- ---------------------------------------- End of Main Table or Text  ------------------ -->
 
 
	</DIV>
	</DIV>
 
	<CFINCLUDE TEMPLATE="_includes/footer.cfm"><!-- Page Footer --->
 
	</BODY>
<!-------------------------------------------------- End Body -------------------->
 
 
<CENTER><DIV ID="updated">Last updated 3/15/2009</DIV></CENTER>
 
</HTML>
<!-------------------------------------------------- End Page -------------------->
 
 
<!-------------------------------------------------- JavaScript -------------------------------------------------->
<!-- JavaScript: Create calendar buttons -->
	<SCRIPT LANGUAGE="JavaScript">
		function ShowCalendar(FormName, FieldName)
			{window.open("DatePopup.cfm?FormName=" + FormName + "&FieldName=" + FieldName, "CalendarWindow", "width=250,height=250");}
	</SCRIPT>
 
<!-- JavaScript: Error Checking - Check Form Fields for Values -->
	<SCRIPT TYPE="text/javascript">
	var checkForm = function(objForm){
	 if (objForm.Program.value=="" || objForm.Program.value=="Program Selection") {
	  alert("Please select the Program.");
	  return false;
	 } else if (objForm.Volume.value=="" || objForm.Volume.value=="Volume Selection") {
	  alert("Please select the Volume.");
	  return false;
	 } else if (objForm.Date.value=="") {
	  alert("Please select a Meeting Date.");
	  return false;
	 } else if (objForm.SelectAction.value=="" || objForm.SelectAction.value=="Attendance Tracking Options List") {
	  alert("Please select an Action.");
	  return false;
	 } else {
	  document.ActionForm.action = objForm.SelectAction.value;
	 }
	};
	</SCRIPT>
 
<!-- JavaScript: This controls the dropdown menues on the Top and Left Nav sections -->	
	<SCRIPT LANGUAGE="javascript1.2" SRC="_scripts/javascript.js" TYPE="text/javascript"></SCRIPT>
 
 
<!-- ---------------------------------------- Start Popup Calendar Scripts ---------------------------------------- -->
<!-- JavaScript: Call PopupDate Calendar JavaScript Function -->
	<SCRIPT LANGUAGE="JavaScript" SRC="_scripts/PopupDate.js"></SCRIPT>
	
<!-- JavaScript: Calendar PopupDate JavaScript Formatting and Scripting -->
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("<div id=\"PopUpCalendar\" style=\"position:absolute; left:0px; top:0px; z-index:7; width:200px; height:77px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout(\'hideCalendar()\',500)\">");
		 document.writeln("<div id=\"monthSelector\" style=\"position:absolute; left:0px; top:0px; z-index:9; width:181px; height:27px; overflow: visible; visibility:inherit\">");}
		else if (document.layers) {
		 document.writeln("<layer id=\"PopUpCalendar\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"200\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"if(ppcTI){clearTimeout(ppcTI);ppcTI=false;}\" onMouseOut=\"ppcTI=setTimeout('hideCalendar()',500)\">");
		 document.writeln("<layer id=\"monthSelector\" left=\"0\" top=\"0\" width=\"181\" height=\"27\" z-index=\"9\" visibility=\"inherit\">");}
		else {
		 document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");}
	</SCRIPT>
 
<!-- HTML: Checks to See if JavaScript is Enabled -->
	<NOSCRIPT><P><FONT COLOR="#FF0000"><B>JavaScript is not activated !</B></FONT></P></NOSCRIPT>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" WIDTH="200" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" VSPACE="0" HSPACE="0"><FORM NAME="ppcMonthList"><TR><TD ALIGN="center" BGCOLOR="#CCCCCC"><A HREF="javascript:moveMonth('Back')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B>< </B></FONT></A><FONT FACE="MS Sans Serif, sans-serif" SIZE="1"> 
		<SELECT NAME="sItem" ONMOUSEOUT="if(ppcIE){window.event.cancelBubble = true;}" onChange="switchMonth(this.options[this.selectedIndex].value)" STYLE="font-family: 'MS Sans Serif', sans-serif; font-size: 9pt"><OPTION VALUE="0" SELECTED>2000 " January</OPTION><OPTION VALUE="1">2000 " February</OPTION><OPTION VALUE="2">2000 " March</OPTION><OPTION VALUE="3">2000 " April</OPTION><OPTION VALUE="4">2000 " May</OPTION><OPTION VALUE="5">2000 " June</OPTION><OPTION VALUE="6">2000 " July</OPTION><OPTION VALUE="7">2000 " August</OPTION><OPTION VALUE="8">2000 " September</OPTION><OPTION VALUE="9">2000 " October</OPTION><OPTION VALUE="10">2000 " November</OPTION><OPTION VALUE="11">2000 " December</OPTION><OPTION VALUE="0">2001 " January</OPTION></SELECT></FONT><A HREF="javascript:moveMonth('Forward')" onMouseOver="window.status=' ';return true;"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#000000"><B> ></B></FONT></A></TD></TR></FORM></TABLE>
		<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="2" BORDERCOLORLIGHT="#000000" BORDERCOLORDARK="#000000" WIDTH="200" VSPACE="0" HSPACE="0"><TR ALIGN="center" BGCOLOR="#CCCCCC"><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Su</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Mo</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Tu</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">We</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Th</FONT></B></TD><TD WIDTH="20"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Fr</FONT></B></TD><TD WIDTH="20" BGCOLOR="#FFFFCC"><B><FONT FACE="MS Sans Serif, sans-serif" SIZE="1">Sa</FONT></B></TD></TR></TABLE>
 
	<SCRIPT LANGUAGE="JavaScript">
		if (document.all) {
		 document.writeln("</div>");
		 document.writeln("<div id=\"monthDays\" style=\"position:absolute; left:0px; top:52px; z-index:8; width:200px; height:17px; overflow: visible; visibility:inherit; background-color: #FFFFFF; border: 1px none #000000\"> </div></div>");}
		else if (document.layers) {
		 document.writeln("</layer>");
		 document.writeln("<layer id=\"monthDays\" left=\"0\" top=\"52\" width=\"200\" height=\"17\" z-index=\"8\" bgcolor=\"#FFFFFF\" visibility=\"inherit\"> </layer></layer>");}
		else {/*NOP*/}
	</SCRIPT>
<!-- End Calendar PopupDate JavaScript Formatting and Scripting -->
<!-- ---------------------------------------- End Popup Calendar Scripts ------------------ -->
<!-------------------------------------------------- End JavaScript -------------------->

Open in new window

0
Jon BredensteinerProject ManagerAuthor Commented:
I'm also trying to figure out another, I'm guessing much easier, issue on this same website I'm creating.  So, if you want to pick up another 500 points this afternoon ;)

http://www.experts-exchange.com/Web_Development/Software/ColdFusion_Studio/Q_24473227.html
0
Michel PlungjanIT ExpertCommented:
Stoopid CF
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.