[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1933
  • Last Modified:

HTML HELP .ASP SCRIPT

I need help with an issue on this script. I have three fields that are required before clicking on the submit button. I would like to make all fields mandatory before clicking on the submit button can anyone help.
<!--#include virtual="/includes/asp/cms_header.asp"-->
 
<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  <% if Request.Form("Submit") = "Submit" then 
			set objRS = server.CreateObject("adodb.recordset")
			
			employee_name = replace(request.form("name"), "'", "''")
			problem = replace(request.form("problem"), "'", "''")
			problem = replace(problem, vbcrlf, "<br>")
			outputProblem = problem
			if request.Form("login") <> "" then
				problem = problem & "<br>Login: " & request.Form("login")
			end if
			if request.Form("password") <> "" then
				problem = problem & "<br>Password: " & request.Form("password")
			end if
			strSql = "set nocount on "
			strSql = strSql & "insert into wo (request_date,employee_name,employee_phone,problem,wo_type) values ("
			strSql = strSql & "'" & now() & "', "
			strSql = strSql & "'" & employee_name & "', "
			strSql = strSql & "'" & request.Form("ext") & "', "
			strSql = strSql & "'" & problem & "', "
			strSql = strSql & "1) "
			strSql = strSql & "select last_insert_id=@@IDENTITY "
			strSql = strSql & "set nocount off"
			objRS.open strSql, objConn
			%>
			<p class='body'>The work order has been submitted, for your reference here is the information you submitted:</p>
			<table cellpadding="3" cellspacing="0" border="0" class="body">
			<tr><td>Employee:&nbsp;</td><td><%= request.Form("name") %></td></tr>
			<tr><td>Extension:&nbsp;</td><td><%= request.Form("ext") %></td></tr>
			<tr><td valign="top">Description:&nbsp;</td><td><%= outputProblem %></td></tr>
			<tr><td>Work&nbsp;Order&nbsp;#:&nbsp;</td><td><%= objRS("last_insert_id") %></td></tr>
			</table>
			<p class="body"><a href="computer_work_order.asp">Click here</a> if you want to submit another Computer Work Order.</p>
			<p class="body"><a href="/">Back to CHCC Home</a></p>
		  <% else %>
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      <% end if %>
		  
		</div>
		<!-- END CONTENT BODY -->
 
<!--#include virtual="/includes/asp/cms_footer.asp"-->

Open in new window

0
CHCCIT
Asked:
CHCCIT
  • 12
  • 10
  • 2
2 Solutions
 
b0lsc0ttCommented:
CHCCIT,

If you want this done BEFORE clicking submit (or at least before the form is submitted since I recommend doing it at the time the button is clicked) then ASP is not going to help. You should still have ASP code to test that you get values but it will only run when the server gets the form.  In other words after the page is submitted.  To do it when the button is clicked you need Javascript.

Please provide the html source (i.e. in the browser select the option to View Source) and show us the Javascript you have.  We need that code to help you with Javascript to do this.  Of course don't forget to still check with ASP since Javascript can be disabled or bypassed.

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
CHCCITAuthor Commented:
Thanks I will get you the full page code
0
 
CHCCITAuthor Commented:
There you go look forward for your help in this thanks.
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
<style type="text/css" media="all"> 
   @import "/includes/css/intranet.css";
</style>
 
<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />
 
<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>
 
<script language="JavaScript" type="text/JavaScript"> 
<!--
 
function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}
 
function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}
 
preload();
 
 
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
 
<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div>4/18/2009 10:24:48 PM&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">
 
<!-- MENUS -->
<div id="menus">
	<div id="menus">
	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Departments,menusign_Departments)">
		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>CE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >
			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >
			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >
			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >
			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >
			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >
			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >
			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Information,menusign_Information)">
		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=187" >
			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=68" >
			
	<font color=#660066>The Joint Commission</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=75" >
			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#33660>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#660066>Notification Templates</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#33660>Organizational Charts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#660066>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >
			
	<font color=#33660>Policy and Procedure</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#660066>Recipe Cards</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">
		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
	
	 
    
 
			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://67.102.43.146/facilitylink2/" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://trakstar.promantek.com/" > 
			
	<font color=#33660>Evaluation</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#660066>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#33660>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server1/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#660066>Medicare D - PDP</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=166" >
			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=38" > 
			
	<font color=#660066>Personalized Notepad</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/rnc.asp" > 
			
	<font color=#33660>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#660066>SigmaCare</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#33660>Special Event Reservation</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#660066>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#33660>Thank-You Cards</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#660066>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#33660>Transportation Scheduling</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#660066>Travel Requisition</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#33660>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#660066>Winscribe</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\WB Mason Order Form.pdf" > 
			
	<font color=#33660>WB Mason Order Form</font>
		
			</a></li>
	
	
	
 
			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
 
	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->
		"Tis the spring of souls today; Christ<br>hath burst his prison, and from three days'sleep in death as a sun has risen. All the winter of our sins, long and dark, is flying welcomes in unwearied strains Jesus' resurrection."<br>            -John of Damascus,d.750;<br>             tr. J.M. Neale, 1862<br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">
	<div class="menu_header">About CHCC</div>
	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->
	</div>
</div>
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      
		  
		</div>
		<!-- END CONTENT BODY -->
 
	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Wayne BarronCommented:
Add this between the
</title>
&
</head>
Of your page.

This will check to see if all the fields are field ou before submitting.

Good Luck
Carrzkiss
<script language="JavaScript">
 
function isValid() {
  with (document.RegisterForm) {
     if (name.value =="") { // check For First Name
    alert("SECURITY ALERT!\n\n\n..\nName is required.\n..\n\n\n");
    name.focus();
	return false;
   }      
   if (ext.value =="") { // check For extention
    alert("SECURITY ALERT!\n\n\n..\nExtension is required.\n..\n\n\n");
    ext.focus();
	return false;
   } 
   if (login.value =="") { // check FLogin is required.\n..\n\n\n");
    login.focus();
	return false;
   }  
   if (password.value =="") { // check For Passord
    alert("SECURITY ALERT!\n\n\n..\nPassword is required.\n..\n\n\n");
    password.focus();
	return false;
   }
   if (problem.value =="") { // check For problem
    alert("SECURITY ALERT!\n\n\n..\nproblem is required.\n..\n\n\n");
    problem.focus();
	return false;
   }  
 
 }
 return true;
}
    </script>

Open in new window

0
 
Wayne BarronCommented:
all fields are filled out before submitting.
(I hate typo's)

Carrzkiss
0
 
CHCCITAuthor Commented:
This Assignment is that of a correction that needs to be made to the intranet website for my director. I checked the iis services and checked the  web sites running. I found the one in relation to this script I am having issues with but can not locate the .html or .htm file for edits. everything in the folder is saved as .asp. Please provide me further details on how to do this if more information is required I will gladly provide thank you
0
 
Wayne BarronCommented:
What you posted here:
http:Q_24334730.html?cid=1066#a24177685
Just take my code and paste it at the top.
Or better yet, here is the full code including your code at the above mentioned location
Along with mine.

Just take this code which is your page that you posted.
And replace it.

You are dealing with .asp files all in the folder, because the site is designed in ASP.
Server Side scripting, not .htm, .html pages.
You are running a live site that is dynamic.
That is why everything is .asp.

Anyway.
Replace the code below with your actual page.
And run the page and leave a field blank and you will see the generated error
Telling you that a field is missing.

Good Luck
Carrzkiss
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
<style type="text/css" media="all"> 
   @import "/includes/css/intranet.css";
</style>
 
<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />
 
<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>
 
<script language="JavaScript" type="text/JavaScript"> 
<!--
 
function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}
 
function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}
 
preload();
 
 
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript">
 
function isValid() {
  with (document.RegisterForm) {
     if (name.value =="") { // check For First Name
    alert("SECURITY ALERT!\n\n\n..\nName is required.\n..\n\n\n");
    name.focus();
	return false;
   }      
   if (ext.value =="") { // check For extention
    alert("SECURITY ALERT!\n\n\n..\nExtension is required.\n..\n\n\n");
    ext.focus();
	return false;
   } 
   if (login.value =="") { // check FLogin is required.\n..\n\n\n");
    login.focus();
	return false;
   }  
   if (password.value =="") { // check For Passord
    alert("SECURITY ALERT!\n\n\n..\nPassword is required.\n..\n\n\n");
    password.focus();
	return false;
   }
   if (problem.value =="") { // check For problem
    alert("SECURITY ALERT!\n\n\n..\nproblem is required.\n..\n\n\n");
    problem.focus();
	return false;
   }  
 
 }
 return true;
}
</script>
</head>
 
<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div>4/18/2009 10:24:48 PM&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">
 
<!-- MENUS -->
<div id="menus">
	<div id="menus">
	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Departments,menusign_Departments)">
		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>CE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >
			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >
			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >
			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >
			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >
			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >
			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >
			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Information,menusign_Information)">
		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=187" >
			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=68" >
			
	<font color=#660066>The Joint Commission</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=75" >
			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#33660>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#660066>Notification Templates</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#33660>Organizational Charts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#660066>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >
			
	<font color=#33660>Policy and Procedure</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#660066>Recipe Cards</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">
		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
	
	 
    
 
			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://67.102.43.146/facilitylink2/" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://trakstar.promantek.com/" > 
			
	<font color=#33660>Evaluation</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#660066>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#33660>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server1/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#660066>Medicare D - PDP</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=166" >
			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=38" > 
			
	<font color=#660066>Personalized Notepad</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/rnc.asp" > 
			
	<font color=#33660>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#660066>SigmaCare</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#33660>Special Event Reservation</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#660066>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#33660>Thank-You Cards</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#660066>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#33660>Transportation Scheduling</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#660066>Travel Requisition</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#33660>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#660066>Winscribe</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\WB Mason Order Form.pdf" > 
			
	<font color=#33660>WB Mason Order Form</font>
		
			</a></li>
	
	
	
 
			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
 
	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->
		"Tis the spring of souls today; Christ<br>hath burst his prison, and from three days'sleep in death as a sun has risen. All the winter of our sins, long and dark, is flying welcomes in unwearied strains Jesus' resurrection."<br>            -John of Damascus,d.750;<br>             tr. J.M. Neale, 1862<br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">
	<div class="menu_header">About CHCC</div>
	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->
	</div>
</div>
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      
		  
		</div>
		<!-- END CONTENT BODY -->
 
	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

0
 
b0lsc0ttCommented:
>> I am having issues with but can not locate the .html or .htm file for edits. everything in the folder is saved as .asp. <<
This may be answered already by the previous comment but just in case it isn't I will respond to it.  Look at your URL.  The page in it (the last part) should end with .asp .  Do you see that?  If so that is the file name you need to look in to make the modification.  You might see some html but other parts will be server script (probably vbscript language ASP) and you might need the edits in that part.  If you need our help with that part then we would need to see the ASP code for that section.
If you don't see a file name at the end of the URL then it is probably default.asp, index.asp, etc.  Your web admin should be able to let you know for sure which files are "defaults" for the web server.
The key is the results would be what the expert above provided.  If ASP is making the page or that part of it then it will be the ASP that needs to change but the results (i.e. what the browser gets) would be what the expert said.
Let me know if you have a question about this.
bol
0
 
Wayne BarronCommented:
CHCCIT:
Can you please come in and let us know if this issue still exist?
If not, then please finalize it.

Thank You
Carrzkiss
0
 
CHCCITAuthor Commented:
Yes, I will post some interesting pictures soon to help resolve issue quicker thanks.
0
 
CHCCITAuthor Commented:
My Web Admin is no longer with us and I am taking on a project in a half with this one. I provided pictures of the Server IIS.  It would be safe to say that in one of the views that I provided which is picture 3 that index.asp is head of the list. Which I would probably say that this is what is being loaded for my intranet which represents the 4th layout with the attached code
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
<style type="text/css" media="all"> 
   @import "/includes/css/intranet.css";
</style>
 
<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />
 
<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>
 
<script language="JavaScript" type="text/JavaScript"> 
<!--
 
function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}
 
function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}
 
preload();
 
 
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
 
<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div>4/23/2009 12:20:53 PM&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">
 
<!-- MENUS -->
<div id="menus">
	<div id="menus">
	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Departments,menusign_Departments)">
		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>CE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >
			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >
			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >
			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >
			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >
			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >
			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >
			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Information,menusign_Information)">
		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=187" >
			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=68" >
			
	<font color=#660066>The Joint Commission</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=75" >
			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#33660>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#660066>Notification Templates</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#33660>Organizational Charts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#660066>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >
			
	<font color=#33660>Policy and Procedure</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#660066>Recipe Cards</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">
		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
	
	 
    
 
			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://67.90.56.98/facilitylink2" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://trakstar.promantek.com/" > 
			
	<font color=#33660>Evaluation</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#660066>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#33660>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server1/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#660066>Medicare D - PDP</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/services/index.asp?pg_id=166" >
			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/rnc.asp" > 
			
	<font color=#660066>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#33660>SigmaCare</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#660066>Special Event Reservation</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#33660>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#660066>Thank-You Cards</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#33660>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#660066>Transportation Scheduling</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#33660>Travel Requisition</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#660066>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#33660>Winscribe</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\WB Mason Order Form.pdf" > 
			
	<font color=#660066>WB Mason Order Form</font>
		
			</a></li>
	
	
	
 
			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
 
	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->
		"Now let the heavens be joyful, let earth her song begin; let the round world keep triumph, and all that is therein; let all things seen and unseen their notes of gladness blend, for Christ the Lord hath risen, our joy that knows no end."<br>   -John of Damascus;tr.J.M.Neale,1862<br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">
	<div class="menu_header">About CHCC</div>
	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->
	</div>
</div>
<!-- END MENUS -->
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
			<!-- BEGIN PILLARS -->
			<div style="float:left; "><a href="javascript:open_win_size('/pillars/',680,560);"><img border=0 color = white hspace="30" src="/includes/images/pillars/homepage.jpg"></a></div>
<div class="body_menu_brown">
	
	<div>
		
		<div class="spacer"></div>
	</div>
</div>
			<div class="spacer"></div>
			<!-- END PILLARS -->
			
			<br>
			<div>
				<!-- BEGIN CHCC INFO MENU -->	
				<div class="body_menu_red">
					<div class="body_menu_red_title"><span>Lunch Menu</span></div>
					
					<div class="lunch_home">
					<table>
					<tr><td valign="top"><strong>Main Course:</strong></td>
					<td valign="top">Chicken Patty on a Bun</td></tr>
					<tr><td valign="top"><strong>Soup:</strong></td>
					<td valign="top">NE Clam Chowder</td></tr>
					<tr><td valign="top"><strong>Side Dishes:</strong></td>
					<td valign="top">Lettuce & Tomato<br> Salad Bar
					</td></tr>
					<tr><td valign="top"><strong>Dessert:</strong></td>
					<td valign="top">Cake</td></tr>
					<tr><td colspan="2" class="body"><a href="depts/employee_menu.asp">Click here for this weeks menu</a></td></tr>
					</table>
					</div>
					
				</div>
				<!-- END CHCC INFO -->
				<!-- <div style="width:40px;float:left;margin: 1px 1px 1px 1px; padding: 1px 1px 1px 1px;border: 1px solid red;"></div> -->
				<!-- BEGIN WEATHER -->	
				<div class="body_menu_purple">
					<div class="body_menu_purple_title"><span>Weather</span></div>
					<div>
					<?xml version="1.0" encoding="UTF-16"?><table cellspacing="0" border="0" class="weather"><tr><td colspan="2"><strong></strong></td></tr><tr><td valign="top"><img src="/includes/images/weather/64x64/.gif" /></td><td><table cellspacing="5" cellpadding="0"><tr><td valign="top"><strong>Temp:</strong></td><td valign="top"></td></tr><tr><td valign="top"><strong>Feels Like:</strong></td><td valign="top"></td></tr><tr><td valign="top"><strong>Cond:</strong></td><td valign="top"></td></tr></table></td></tr></table>
					</div>
					<div class="fineprint">
					View weather for 
					<a href="#" onclick="javascript:window.open('includes/xml/weather_pop.asp?zip=07470', 'weather', 'width=230,height=150');">Wayne</a>
					<!-- <br> Weather data provided by <a href="http://www.weather.com/?prod=xoap&par=1004409261" target="_blank">weather.com</a> -->
					</div>
				</div>
				<!-- END WEATHER -->
			</div>
		</div>
		<p>&nbsp;</p>
		<!-- END CONTENT BODY -->
 
	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

1.bmp
2.bmp
3.bmp
4.bmp
0
 
Wayne BarronCommented:
Where is the form at?
There is no form on that page that you have screenshot.
That means that, that is not the correct page that you need to be working in.

Do this for me.
Open that page up

http://home.chcc/
And click your way through to the page that has the form on it.
Once you get there, I want you to copy the URL out and paste it in here.
And once you get the link in here, either myself or one of the other EE's will
Tell you what file needs to be edited with the code.

Good Luck
Carrzkiss
0
 
CHCCITAuthor Commented:
Link Is the following

http://home.chcc/forms/computer_work_order.asp

code on view source is attached.
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
<style type="text/css" media="all"> 
   @import "/includes/css/intranet.css";
</style>
 
<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />
 
<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>
 
<script language="JavaScript" type="text/JavaScript"> 
<!--
 
function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}
 
function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}
 
preload();
 
 
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
 
<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div>4/23/2009 4:57:49 PM&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">
 
<!-- MENUS -->
<div id="menus">
	<div id="menus">
	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Departments,menusign_Departments)">
		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>CE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >
			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >
			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >
			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >
			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >
			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >
			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >
			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Information,menusign_Information)">
		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=187" >
			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=68" >
			
	<font color=#660066>The Joint Commission</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=75" >
			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#33660>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#660066>Notification Templates</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#33660>Organizational Charts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#660066>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >
			
	<font color=#33660>Policy and Procedure</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#660066>Recipe Cards</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">
		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
	
	 
    
 
			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://67.90.56.98/facilitylink2" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://trakstar.promantek.com/" > 
			
	<font color=#33660>Evaluation</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#660066>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#33660>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server1/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#660066>Medicare D - PDP</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/services/index.asp?pg_id=166" >
			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/rnc.asp" > 
			
	<font color=#660066>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#33660>SigmaCare</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#660066>Special Event Reservation</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#33660>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#660066>Thank-You Cards</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#33660>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#660066>Transportation Scheduling</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#33660>Travel Requisition</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#660066>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#33660>Winscribe</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\WB Mason Order Form.pdf" > 
			
	<font color=#660066>WB Mason Order Form</font>
		
			</a></li>
	
	
	
 
			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
 
	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->
		"Now let the heavens be joyful, let earth her song begin; let the round world keep triumph, and all that is therein; let all things seen and unseen their notes of gladness blend, for Christ the Lord hath risen, our joy that knows no end."<br>   -John of Damascus;tr.J.M.Neale,1862<br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">
	<div class="menu_header">About CHCC</div>
	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->
	</div>
</div>
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      
		  
		</div>
		<!-- END CONTENT BODY -->
 
	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

1.bmp
2.bmp
3.bmp
0
 
CHCCITAuthor Commented:
Actual Code On  computer_work_order.asp
opened via notepad
see below
<!--#include virtual="/includes/asp/cms_header.asp"-->
 
<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  <% if Request.Form("Submit") = "Submit" then 
			set objRS = server.CreateObject("adodb.recordset")
			
			employee_name = replace(request.form("name"), "'", "''")
			problem = replace(request.form("problem"), "'", "''")
			problem = replace(problem, vbcrlf, "<br>")
			outputProblem = problem
			if request.Form("login") <> "" then
				problem = problem & "<br>Login: " & request.Form("login")
			end if
			if request.Form("password") <> "" then
				problem = problem & "<br>Password: " & request.Form("password")
			end if
			strSql = "set nocount on "
			strSql = strSql & "insert into wo (request_date,employee_name,employee_phone,problem,wo_type) values ("
			strSql = strSql & "'" & now() & "', "
			strSql = strSql & "'" & employee_name & "', "
			strSql = strSql & "'" & request.Form("ext") & "', "
			strSql = strSql & "'" & problem & "', "
			strSql = strSql & "1) "
			strSql = strSql & "select last_insert_id=@@IDENTITY "
			strSql = strSql & "set nocount off"
			objRS.open strSql, objConn
			%>
			<p class='body'>The work order has been submitted, for your reference here is the information you submitted:</p>
			<table cellpadding="3" cellspacing="0" border="0" class="body">
			<tr><td>Employee:&nbsp;</td><td><%= request.Form("name") %></td></tr>
			<tr><td>Extension:&nbsp;</td><td><%= request.Form("ext") %></td></tr>
			<tr><td valign="top">Description:&nbsp;</td><td><%= outputProblem %></td></tr>
			<tr><td>Work&nbsp;Order&nbsp;#:&nbsp;</td><td><%= objRS("last_insert_id") %></td></tr>
			</table>
			<p class="body"><a href="computer_work_order.asp">Click here</a> if you want to submit another Computer Work Order.</p>
			<p class="body"><a href="/">Back to CHCC Home</a></p>
		  <% else %>
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      <% end if %>
		  
		</div>
		<!-- END CONTENT BODY -->
 
<!--#include virtual="/includes/asp/cms_footer.asp"-->

Open in new window

0
 
Wayne BarronCommented:
This is the updated code.
I am not sure what all files you have, but you can leave thos code as is.
Or move it to the <head> of the page, where ever it may be.

Good Luck
Carrzkiss

computer_work_order.asp

<!--#include virtual="/includes/asp/cms_header.asp"-->
 
<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
<script language="JavaScript">
 
function isValid() {
  with (document.RegisterForm) {
     if (name.value =="") { // check For First Name
    alert("SECURITY ALERT!\n\n\n..\nName is required.\n..\n\n\n");
    name.focus();
	return false;
   }      
   if (ext.value =="") { // check For extention
    alert("SECURITY ALERT!\n\n\n..\nExtension is required.\n..\n\n\n");
    ext.focus();
	return false;
   } 
   if (login.value =="") { // check FLogin is required.\n..\n\n\n");
    login.focus();
	return false;
   }  
   if (password.value =="") { // check For Passord
    alert("SECURITY ALERT!\n\n\n..\nPassword is required.\n..\n\n\n");
    password.focus();
	return false;
   }
   if (problem.value =="") { // check For problem
    alert("SECURITY ALERT!\n\n\n..\nproblem is required.\n..\n\n\n");
    problem.focus();
	return false;
   }  
 
 }
 return true;
}
    </script> 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  <% if Request.Form("Submit") = "Submit" then 
			set objRS = server.CreateObject("adodb.recordset")
			
			employee_name = replace(request.form("name"), "'", "''")
			problem = replace(request.form("problem"), "'", "''")
			problem = replace(problem, vbcrlf, "<br>")
			outputProblem = problem
			if request.Form("login") <> "" then
				problem = problem & "<br>Login: " & request.Form("login")
			end if
			if request.Form("password") <> "" then
				problem = problem & "<br>Password: " & request.Form("password")
			end if
			strSql = "set nocount on "
			strSql = strSql & "insert into wo (request_date,employee_name,employee_phone,problem,wo_type) values ("
			strSql = strSql & "'" & now() & "', "
			strSql = strSql & "'" & employee_name & "', "
			strSql = strSql & "'" & request.Form("ext") & "', "
			strSql = strSql & "'" & problem & "', "
			strSql = strSql & "1) "
			strSql = strSql & "select last_insert_id=@@IDENTITY "
			strSql = strSql & "set nocount off"
			objRS.open strSql, objConn
			%>
			<p class='body'>The work order has been submitted, for your reference here is the information you submitted:</p>
			<table cellpadding="3" cellspacing="0" border="0" class="body">
			<tr><td>Employee:&nbsp;</td><td><%= request.Form("name") %></td></tr>
			<tr><td>Extension:&nbsp;</td><td><%= request.Form("ext") %></td></tr>
			<tr><td valign="top">Description:&nbsp;</td><td><%= outputProblem %></td></tr>
			<tr><td>Work&nbsp;Order&nbsp;#:&nbsp;</td><td><%= objRS("last_insert_id") %></td></tr>
			</table>
			<p class="body"><a href="computer_work_order.asp">Click here</a> if you want to submit another Computer Work Order.</p>
			<p class="body"><a href="/">Back to CHCC Home</a></p>
		  <% else %>
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      <% end if %>
		  
		</div>
		<!-- END CONTENT BODY -->
 
<!--#include virtual="/includes/asp/cms_footer.asp"-->

Open in new window

0
 
CHCCITAuthor Commented:
Code On Page
followed by image

The actual File computer_work_order.asp
reflects your added code listed above.
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
<style type="text/css" media="all"> 
   @import "/includes/css/intranet.css";
</style>
 
<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />
 
<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>
 
<script language="JavaScript" type="text/JavaScript"> 
<!--
 
function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}
 
function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}
 
preload();
 
 
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
 
<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div>4/23/2009 6:25:32 PM&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">
 
<!-- MENUS -->
<div id="menus">
	<div id="menus">
	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Departments,menusign_Departments)">
		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>CE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >
			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >
			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >
			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >
			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >
			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >
			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >
			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Information,menusign_Information)">
		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=187" >
			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=68" >
			
	<font color=#660066>The Joint Commission</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=75" >
			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#33660>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#660066>Notification Templates</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#33660>Organizational Charts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#660066>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >
			
	<font color=#33660>Policy and Procedure</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#660066>Recipe Cards</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">
		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
	
	 
    
 
			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://67.90.56.98/facilitylink2" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://trakstar.promantek.com/" > 
			
	<font color=#33660>Evaluation</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#660066>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#33660>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server1/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#660066>Medicare D - PDP</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/services/index.asp?pg_id=166" >
			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/rnc.asp" > 
			
	<font color=#660066>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#33660>SigmaCare</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#660066>Special Event Reservation</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#33660>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#660066>Thank-You Cards</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#33660>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#660066>Transportation Scheduling</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#33660>Travel Requisition</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#660066>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#33660>Winscribe</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\WB Mason Order Form.pdf" > 
			
	<font color=#660066>WB Mason Order Form</font>
		
			</a></li>
	
	
	
 
			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
 
	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->
		"Now let the heavens be joyful, let earth her song begin; let the round world keep triumph, and all that is therein; let all things seen and unseen their notes of gladness blend, for Christ the Lord hath risen, our joy that knows no end."<br>   -John of Damascus;tr.J.M.Neale,1862<br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">
	<div class="menu_header">About CHCC</div>
	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->
	</div>
</div>
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
<script language="JavaScript">
 
function isValid() {
  with (document.RegisterForm) {
     if (name.value =="") { // check For First Name
    alert("SECURITY ALERT!\n\n\n..\nName is required.\n..\n\n\n");
    name.focus();
	return false;
   }      
   if (ext.value =="") { // check For extention
    alert("SECURITY ALERT!\n\n\n..\nExtension is required.\n..\n\n\n");
    ext.focus();
	return false;
   } 
   if (login.value =="") { // check FLogin is required.\n..\n\n\n");
    login.focus();
	return false;
   }  
   if (password.value =="") { // check For Passord
    alert("SECURITY ALERT!\n\n\n..\nPassword is required.\n..\n\n\n");
    password.focus();
	return false;
   }
   if (problem.value =="") { // check For problem
    alert("SECURITY ALERT!\n\n\n..\nproblem is required.\n..\n\n\n");
    problem.focus();
	return false;
   }  
 
 }
 return true;
}
    </script> 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      
		  
		</div>
		<!-- END CONTENT BODY -->
 
	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

Submit.bmp
0
 
CHCCITAuthor Commented:
Here is the code for my index.asp
<!--#include virtual="/includes/asp/cms_header.asp"-->
 
<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
			<!-- BEGIN PILLARS -->
			<!--#include virtual="/includes/asp/homepage_pillars.asp"-->
			<div class="spacer"></div>
			<!-- END PILLARS -->
			
			<br>
			<div>
				<!-- BEGIN CHCC INFO MENU -->	
				<div class="body_menu_red">
					<div class="body_menu_red_title"><span>Lunch Menu</span></div>
					<%
						dayOne = "11/1/2004"
						
						dtToday = date()
						doy = cstr(DateDiff("d", dayOne, dtToday)+1)
						menuDay = doy MOD 21
						if menuDay = 0 then menuDay = 21 end if
						
						
						Set objRSmenu = Server.CreateObject("ADODB.Recordset")
						strSql = "SELECT week, main_course, soup, side_dish_one, side_dish_two, dessert FROM fs_Menu WHERE number = " & menuDay
						'response.Write(strSql)
						'response.End()
						objRSmenu.Open strSql, objConn
						
						
					%>
					<div class="lunch_home">
					<table>
					<tr><td valign="top"><strong>Main Course:</strong></td>
					<td valign="top"><%= objrsmenu("main_course") %></td></tr>
					<tr><td valign="top"><strong>Soup:</strong></td>
					<td valign="top"><%= objrsmenu("soup") %></td></tr>
					<tr><td valign="top"><strong>Side Dishes:</strong></td>
					<td valign="top"><%= objRSmenu("side_dish_one") %>
						<% if objrsmenu("side_dish_two") <> "" then
							response.Write("<br>" & objRSmenu("side_dish_two"))
						end if %>
					</td></tr>
					<tr><td valign="top"><strong>Dessert:</strong></td>
					<td valign="top"><%= objRSmenu("dessert") %></td></tr>
					<tr><td colspan="2" class="body"><a href="depts/employee_menu.asp">Click here for this weeks menu</a></td></tr>
					</table>
					</div>
					<% objConn.Close %>
				</div>
				<!-- END CHCC INFO -->
				<!-- <div style="width:40px;float:left;margin: 1px 1px 1px 1px; padding: 1px 1px 1px 1px;border: 1px solid red;"></div> -->
				<!-- BEGIN WEATHER -->	
				<div class="body_menu_purple">
					<div class="body_menu_purple_title"><span>Weather</span></div>
					<div>
					<!--#include file="includes/xml/weather.asp" -->
					</div>
					<div class="fineprint">
					View weather for 
					<a href="#" onclick="javascript:window.open('includes/xml/weather_pop.asp?zip=07470', 'weather', 'width=230,height=150');">Wayne</a>
					<!-- <br> Weather data provided by <a href="http://www.weather.com/?prod=xoap&par=1004409261" target="_blank">weather.com</a> -->
					</div>
				</div>
				<!-- END WEATHER -->
			</div>
		</div>
		<p>&nbsp;</p>
		<!-- END CONTENT BODY -->
 
<!--#include virtual="/includes/asp/cms_footer.asp"-->

Open in new window

0
 
Wayne BarronCommented:
According to the screenshot from: http:Q_24334730.html?cid=1066#a24220378
The code that I provided for you is working the way it was intended to work.

Why are you now sending on the code for the Index.asp page?
The Index.asp page does not contact no Validating Form Fields.

Please explain what else you are trying to do?
0
 
CHCCITAuthor Commented:
Here is what I am getting on Every click.
I would like to not be able to continue until all fields are complete.
Something is still not right.
Please let me know what more I can do to post.


I'm not sure if I can ask for remote assistance but that would be great help as well.



Answer to Above did not mean to post index.
1.png
2.png
3.png
4.png
5.png
0
 
Wayne BarronCommented:
This should give you all fields.
If it does not give you the " password " field.
Then change the name of the field in all 3 areas to:
password1

Let me know.
Carrzkiss
<!--#include virtual="/includes/asp/cms_header.asp"-->
 
<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
<script language="JavaScript">
 
function isValid() {
  with (document.RegisterForm) {
     if (name.value =="") { // check For First Name
    alert("SECURITY ALERT!\n\n\n..\nName is required.\n..\n\n\n");
    name.focus();
	return false;
   }      
   if (ext.value =="") { // check For extention
    alert("SECURITY ALERT!\n\n\n..\nExtension is required.\n..\n\n\n");
    ext.focus();
	return false;
   } 
   if (login.value =="") { // check Login is required.\n..\n\n\n");
    alert("SECURITY ALERT!\n\n\n..\nLogin is required.\n..\n\n\n");
    login.focus();
	return false;
   }  
   if (password.value =="") { // check For Passord
    alert("SECURITY ALERT!\n\n\n..\nPassword is required.\n..\n\n\n");
    password.focus();
	return false;
   }
   if (problem.value =="") { // check For problem
    alert("SECURITY ALERT!\n\n\n..\nproblem is required.\n..\n\n\n");
    problem.focus();
	return false;
   }  
 
 }
 return true;
}
    </script> 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  <% if Request.Form("Submit") = "Submit" then 
			set objRS = server.CreateObject("adodb.recordset")
			
			employee_name = replace(request.form("name"), "'", "''")
			problem = replace(request.form("problem"), "'", "''")
			problem = replace(problem, vbcrlf, "<br>")
			outputProblem = problem
			if request.Form("login") <> "" then
				problem = problem & "<br>Login: " & request.Form("login")
			end if
			if request.Form("password") <> "" then
				problem = problem & "<br>Password: " & request.Form("password")
			end if
			strSql = "set nocount on "
			strSql = strSql & "insert into wo (request_date,employee_name,employee_phone,problem,wo_type) values ("
			strSql = strSql & "'" & now() & "', "
			strSql = strSql & "'" & employee_name & "', "
			strSql = strSql & "'" & request.Form("ext") & "', "
			strSql = strSql & "'" & problem & "', "
			strSql = strSql & "1) "
			strSql = strSql & "select last_insert_id=@@IDENTITY "
			strSql = strSql & "set nocount off"
			objRS.open strSql, objConn
			%>
			<p class='body'>The work order has been submitted, for your reference here is the information you submitted:</p>
			<table cellpadding="3" cellspacing="0" border="0" class="body">
			<tr><td>Employee:&nbsp;</td><td><%= request.Form("name") %></td></tr>
			<tr><td>Extension:&nbsp;</td><td><%= request.Form("ext") %></td></tr>
			<tr><td valign="top">Description:&nbsp;</td><td><%= outputProblem %></td></tr>
			<tr><td>Work&nbsp;Order&nbsp;#:&nbsp;</td><td><%= objRS("last_insert_id") %></td></tr>
			</table>
			<p class="body"><a href="computer_work_order.asp">Click here</a> if you want to submit another Computer Work Order.</p>
			<p class="body"><a href="/">Back to CHCC Home</a></p>
		  <% else %>
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      <% end if %>
		  
		</div>
		<!-- END CONTENT BODY -->
 
<!--#include virtual="/includes/asp/cms_footer.asp"-->

Open in new window

0
 
CHCCITAuthor Commented:
still no go I just seen this code could this have anything to  do with it.
/***********************************************
* Required field(s) validation v1.10- By NavSurf
* Visit Nav Surf at http://navsurf.com
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
 
function CheckForm(formobj, fields){
	// Enter name of mandatory fields
	var fieldRequired = new Array; //("name", "LastName");
	// Enter field description to appear in the dialog box
	var fieldDescription = new Array; //("Permission Name", "Last Name");
	//alert(fields);
	fields_array = fields.split(",");
	//alert(fields_array.length);
	j = 0;
	for (i=0; i < fields_array.length; i++) {
		//alert('putting ' + fields_array[i] + ' into fieldRequired[j]');
		fieldRequired[j] = fields_array[i];
		i++;
		fieldDescription[j] = fields_array[i];
		j++;
	}
	
	/*
	for (k=0; k<j; k++) {
		alert (fieldRequired[k] + " : " + fieldDescription[k]);
	}
	*/
	
	// dialog message
	var alertMsg = "Please complete the following fields:\n\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = document.myForm[fieldRequired[i]];
		// formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
			}
			if (obj.type == undefined){
				var blnchecked = false;
				for (var j = 0; j < obj.length; j++){
					if (obj[j].checked){
						blnchecked = true;
					}
				}
				if (!blnchecked){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}
 
	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}
 
function toggle_checkbox (checkbox)
{
	checkbox . checked = ! checkbox . checked;
}
 
 
function toggle_radio (radiobtn)
{
	radiobtn . checked = true;
}

Open in new window

0
 
Wayne BarronCommented:
Working.

Your Form Name is not is the Validate Script.
And the OnSubmit was wrong.

Before (This is yours)
onSubmit="return CheckForm(this,'name,Name,ext,Extension,problem,Problem Description');">

After (This is mine)
onSubmit="return isValid()">

Script works like it is meant to now.

Good Luck
Carrzkiss

<!--#include virtual="/includes/asp/cms_header.asp"-->
 
<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->
 
<script language="javascript" src="/includes/js/formutils.js" type="text/javascript"></script>
<script language="JavaScript">
 
function isValid() {
  with (document.myForm) {
     if (name.value =="") { // check For First Name
    alert("SECURITY ALERT!\n\n\n..\nName is required.\n..\n\n\n");
    name.focus();
	return false;
   }      
   if (ext.value =="") { // check For extention
    alert("SECURITY ALERT!\n\n\n..\nExtension is required.\n..\n\n\n");
    ext.focus();
	return false;
   } 
   if (login.value =="") { // check Login is required.\n..\n\n\n");
    alert("SECURITY ALERT!\n\n\n..\nLogin is required.\n..\n\n\n");
    login.focus();
	return false;
   }  
   if (password.value =="") { // check For Passord
    alert("SECURITY ALERT!\n\n\n..\nPassword is required.\n..\n\n\n");
    password.focus();
	return false;
   }
   if (problem.value =="") { // check For problem
    alert("SECURITY ALERT!\n\n\n..\nproblem is required.\n..\n\n\n");
    problem.focus();
	return false;
   }  
 
 }
 return true;
}
    </script> 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
		  <p class="page_title">Computer Work Order</p>
		  <% if Request.Form("Submit") = "Submit" then 
			set objRS = server.CreateObject("adodb.recordset")
			
			employee_name = replace(request.form("name"), "'", "''")
			problem = replace(request.form("problem"), "'", "''")
			problem = replace(problem, vbcrlf, "<br>")
			outputProblem = problem
			if request.Form("login") <> "" then
				problem = problem & "<br>Login: " & request.Form("login")
			end if
			if request.Form("password") <> "" then
				problem = problem & "<br>Password: " & request.Form("password")
			end if
			strSql = "set nocount on "
			strSql = strSql & "insert into wo (request_date,employee_name,employee_phone,problem,wo_type) values ("
			strSql = strSql & "'" & now() & "', "
			strSql = strSql & "'" & employee_name & "', "
			strSql = strSql & "'" & request.Form("ext") & "', "
			strSql = strSql & "'" & problem & "', "
			strSql = strSql & "1) "
			strSql = strSql & "select last_insert_id=@@IDENTITY "
			strSql = strSql & "set nocount off"
			objRS.open strSql, objConn
			%>
			<p class='body'>The work order has been submitted, for your reference here is the information you submitted:</p>
			<table cellpadding="3" cellspacing="0" border="0" class="body">
			<tr><td>Employee:&nbsp;</td><td><%= request.Form("name") %></td></tr>
			<tr><td>Extension:&nbsp;</td><td><%= request.Form("ext") %></td></tr>
			<tr><td valign="top">Description:&nbsp;</td><td><%= outputProblem %></td></tr>
			<tr><td>Work&nbsp;Order&nbsp;#:&nbsp;</td><td><%= objRS("last_insert_id") %></td></tr>
			</table>
			<p class="body"><a href="computer_work_order.asp">Click here</a> if you want to submit another Computer Work Order.</p>
			<p class="body"><a href="/">Back to CHCC Home</a></p>
		  <% else %>
		  
	      <p class="body">If you are submitting a Computer Work Order about a new hire, please use the <a href="/forms/new_hire.asp">New Hire / Replacement Request Form</a>.</p>
	      <form name="myForm" action="computer_work_order.asp" method="post" onSubmit="return isValid()">
		  <div class="body">
		  <table cellpadding="3" cellspacing="0" border="0">
		  <tr><td><span class="req">*&nbsp;</span>Name:</td><td><input type="text" name="name"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>Extension:</td><td><input type="text" name="ext"></td></tr>
		  <tr><td><span class="req">*&nbsp;</span>User Name:</td><td><input type="text" name="login"></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Password:</td><td><input type="password" name="password"><br><font size="1">Your password will appear as *'s for safety</font></td></tr>
		  <tr><td valign="top"><span class="req">*&nbsp;</span>Problem:</td><td><textarea name="problem"></textarea></td></tr>
		  <tr><td colspan="2" align="right"><input type="submit" name="Submit" value="Submit"></td></tr>
		  </table>
		  </div>
		    </form>
	      <% end if %>
		  
		</div>
		<!-- END CONTENT BODY -->
 
<!--#include virtual="/includes/asp/cms_footer.asp"-->

Open in new window

0
 
CHCCITAuthor Commented:
Thank you for all your help and support this did the trick. Thanks Again.
0
 
Wayne BarronCommented:
No Problem.
This should have been taken care of the other day, I just missed on the Form Name
And the OnSubmit.

Glad it worked for you, and remember, if you need any more help
Do not forget about EE, we are always here to help.

Carrzkiss

Author Comments:
Thank you for all your help and support this did the trick. Thanks Again.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 12
  • 10
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now