#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    2
    Rep Power
    0

    New to Javascript help displaying form result to textarea


    I have pasted my code below I need help with 2 things. How can I get value of the notified case owner text box when only a single check box? Second thing how can I display the results in a text area box and not the bottom of the page?

    Code:
    <html>
    <head>
    <title>Call Logger v1.6</title>
    
    <HTA:Application
     ID = "HTA"
     ApplicationName = "CallLogger"
     Border = "thin"
     BorderStyle = "normal"
     Caption = "yes"
     ContextMenu="yes"
     Icon = ""
     InnerBorder="no"
     MaximizeButton = "no"
     MinimizeButton = "yes"
     Navigable="yes"
     Scroll="yes"
     SrollFlat="no"
     Selection="yes"
     ShowInTaskBar = "yes"
     SingleInstance = "yes"
     SysMenu = "yes"
    >
    
    <script language="javascript" type="text/javascript">
    
    var panels = new Array("","panel1","panel2");
    
    function panel(tab) {
        for (i=1; i<panels.length; i++) {
            if (i == tab) {
                document.getElementById("tab"+i).className = "tabs tabs1";
                document.getElementById("panel"+i).style.display = "block";
            } else {
                document.getElementById("tab"+i).className = "tabs tabs0";
                document.getElementById("panel"+i).style.display = "none";
            }
        }
    } 
    
    function limitText(limitField, limitCount, limitNum) { 
        if (limitField.value.length > limitNum) { 
            limitField.value = limitField.value.substring(0, limitNum); 
        } else { 
            limitCount.value = limitNum - limitField.value.length; 
    	} 
    }
    
    function ShowClipboardContent () {
        alert (window.clipboardData.getData ("Text"));
    }
    
    function clip_from(id) { 
    clipboard(document.getElementById(id).value); 
    } 
    
    function clipboard(item){ //Copy item to clipboard. 
    if( window.clipboardData && clipboardData.setData ){ 
    clipboardData.setData("Text", item); 
    	} 
    }
    
    </script>
    
    <SCRIPT LANGUAGE="VBScript"> 
    Sub Window_onLoad 
        window.resizeTo 330,820 
    End Sub 
    window.moveTo 1440, 0 
    
    </script>
    
    <style type="text/css">
     body,td,th { font-family:Arial ;font-size:11px }
    .head { font-size:110%; font-weight:bold }
    .panel {
      background-color: white;
      z-index: 0;
    }
    .tabs {
      border-collapse: collapse;
      color: black;
      cursor: pointer;
      cursor: hand;
      font-family: arial;
      font-size: 9pt;
      font-weight: bold;
      margin-top: 4px;
      padding: 2px 4px 0px 4px;
      position: relative;
      text-align: center;
      text-decoration: none;
      z-index: 1;
    }
    .tabs0 {
      background-color: wheat;
      border: solid 1px black;
    }
    .tabs1 {
      background-color: white;
      border-color: black black white black;
      border-style: solid solid solid solid;
      border-width: 1px 1px 1px 1px;
    }
    
    </style>
    </head>
    
    
    <body>
    
    &nbsp; <span class="tabs tabs1" id="tab1" onclick="panel(1)">Tab 1</span>
    &nbsp; <span class="tabs tabs0" id="tab2" onclick="panel(2)">Tab 2</span>
    
    <div class="panel" id="panel1" style="display:block">
    	<hr color="black">
    
    <form name ="form">
    
    <form id="form" class="appnitro"  method="post" action=""> 
         	<div class="form_description"></div>
      
    <div>
    		<label class="description" for="element_1"><b>Svc Tag or Code</b></label><label class="description" for="SR"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbspService Request</b></label> 
    		<br>
    	<span> 
    	     	<input id="SvcTag" type="text" name="SvcTag" maxlength="11" size="12" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px " tabindex="-1" onclick='clip_from("SvcTag")'></button>
    	</span>
    	<span>
    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
    		<input type="text" name="SR" id="SR" maxlength="9" size="10" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("SR")'></button>
    	</span>
    </div>
      
    <div>  
    	<br> 
    	<label class="description" for="Name"><b>Name</b></label>
    	<br> 
    	<span> 
    		<input type="text" name= "name_1" class="element text" maxlength="30" size="14" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("name_1")'></button>
     	</span> 
     	<span> 
    		<input type="text" name= "name_2" class="element text" maxlength="30" size="18" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("name_2")'></button> 
    	</span> 
       
    	<br> 
    		<label class="description" for="email"><b>Email</b></label>
    	<br> 
    	
    	<div> 
    		<input type="text" name="email" id="email" type="text" maxlength="50" size="40" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("email")'></button>
    	</div>
    </div> 
    
    
    <div>  
    	<br> 
    		<label class="description" for="phone_1"><b>Primary Phone</b></label>
    	<br> 
     
    	<span> 
    		<input type="text" name="pri_area" class="element text medium" type="text" maxlength="3" size="4" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("pri_area")'></button> 
    	</span> 
    	<span> 
    		<input type="text" name="phone_1" class="element text medium" type="text" maxlength="8" size="9" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_1")'></button>  
    	</span> 
    	<span> 
    		<input type="text" name="phone_1_ext" class="element text medium" type="text" maxlength="5" size="6" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_1_ext")'></button>  
    	</span>        
    </div> 
      
    <div>  
    		<label class="description" for="phone_2"><b>Secondary Phone</b></label> 
    	<br> 
    	<span> 
    		<input type="text" name="sec_area" class="element text medium" type="text" maxlength="3" size="4" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("sec_area")'></button> 
    	</span> 
    	<span> 
    		<input type="text" name="phone_2" class="element text medium" type="text" maxlength="8" size="9" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_2")'></button>  
    	</span> 
    	<span>
    		<input type="text" name="phone_2_ext" class="element text medium" type="text" maxlength="5" size="6" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_2_ext")'></button>  
    	</span> 
    </div> 
    
    <div>
    	<br> 
    		<label class="description" for="emailverified"><b>Email verified</b></label> 
    	<div> 
    	<select style="width: 254px" class="element select medium" id="emailverified" name="emailverified"> 
    		<option value="" selected="selected"></option> 
    		<option value="**cust verified email recieved**" >cust verified email recieved</option> 
    		<option value="**cust does not have access to email**" >cust does not have access to email</option>
    		<option value="**cust email takes a while to receive**" >cust email takes a while to receive</option>
    		<option value="**kana down not able to send email**" >kana down</option>
    	</select>
    	</div> 
    </div>
    
    <div>
    	<br> 
    		<label class="description" for="verified"><b>Verification</b></label> 
    	<span> 
    	<br> 
    		<input type="radio" name="verified" value="VA" onClick="">VA 
    		<input type="radio" name="verified" value="Silent VA" onClick="">Silent VA 
    		<input type="radio" name="verified" value="No VA" Onclick="">No VA 
    	<br>
    		<input type="checkbox" name="verified" value="VCI" OnClick="">VCI  
    		<input type="checkbox" name="verified" value="VDI" OnClick="">VDI 
                <input type="checkbox" name="verified" value="TARP" OnClick="">TARP
    		<input type="checkbox" name="verified" value="COTERM" OnClick"">COTERM 
    	</span> 
    </div> 
    
    <div>
    	<br>
    		<input type="checkbox" name="notify" value="**notified case owner**" OnClick="">
    </div>
    
    <div>
    		<label class="description" for="os"><b>Operating System</b></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label class="description" for="backup"><b>Backup Status</b></label> 
    	<div> 
    	<select style="width: 135px" class="element select medium" id="os" name="os"> 
    		<option value="None" selected="selected">None</option> 
    		<option value="Server 2000" >Server 2000</option> 
    		<option value="Server 2000 SBS" >Server 2000 SBS</option>
    		<option value="Server 2003 x86" >Server 2003 x86</option> 
    		<option value="Server 2003 x64" >Server 2003 x64</option> 
    		<option value="Server 2003 R2 x86" >Server 2003 R2 x86</option> 
    		<option value="Server 2003 R2 x64" >Server 2003 R2 x64</option>
    		<option value="Server 2003 SBS" >Server 2003 SBS</option> 
    		<option value="Server 2008 x86" >Server 2008 x86</option> 
    		<option value="Server 2008 x64" >Server 2008 x64</option>
    		<option value="Server 2008 SBS" >Server 2008 SBS</option> 
    		<option value="Server 2008 R2" >Server 2008 R2</option> 
    		<option value="Server 2011" >Server 2011</option> 
    		<option value="Server 2011 SBS" >Server 2011 SBS</option> 
    		<option value="Server 2012" >Server 2012</option> 
    		<option value="Linux base OS" >Linux OS</option> 
    		<option value="Xen or ESXi OS" >Xen or ESXi OS</option> 
    		<option value="Non Server OS" >Non Server OS</option> 
    	</select> 
    	</span>
    	<span> 
    	<select style="width: 135px" class="element select medium" id="backup" name="backup"> 
    		<option value="N/A" selected="selected">Not applicable</option> 
    		<option value="No backup" >No backup</option> 
    		<option value="Yes" >Yes</option>
    		<option value="Think so" >Think so</option> 
    		<option value="Backup not current" >Backup not current</option> 
    		<option value="Do not know" >Do not know</option>
    		<option value="New installation" > New installation</option>
    	</select> 
    	</span> 
    	</div>
    </div> 
    
    <div>
    	<label class="description" for="SvrRole"><b>Server Role</b></label>
         	<input id="srvrole" type="text" name="srvrole" maxlength="55" size="41" value=""/>	
    </div>
    
    <div>
    	<br> 
    		<label class="description" for="controller"><b>RAID Controller</b></label> 
    	<div> 
    	<select style="width: 135px" class="element select medium" id="controller" name="controller"> 
    		<option value="None" selected="selected">None</option> 
    		<option value="CERC" >CERC</option> 
    		<option value="PERC 3" >PERC 3</option> 
    		<option value="PERC 4" >PERC 4</option> 
    		<option value="PERC 5" >PERC 5</option> 
    		<option value="PERC 6" >PERC 6</option> 
    		<option value="PERC H300" >PERC H300</option> 
    		<option value="PERC H310" >PERC H310</option> 
    		<option value="PERC H700" >PERC H700</option> 
    		<option value="PERC H710" >PERC H710</option> 
    		<option value="PERC H200" >PERC H200</option> 
    		<option value="PERC S100" >PERC S100</option> 
    		<option value="PERC S110" >PERC S110</option> 
    		<option value="PERC S300" >PERC S300</option> 
    		<option value="PERC S310" >PERC S310</option> 
    		<option value="SAS 5" >SAS 5</option> 
    		<option value="SAS 6" >SAS 6</option> 
    		<option value="SATA" >SATA</option> 
    	</select> 
    	</div>
    </div> 
    
    <div>  
    	<br> 
    	<label class="description" for="troubleshoot"><b>Troubleshooting</b></label>
    	&nbsp<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 19px; WIDTH: 20px" tabindex="-1" onclick='clip_from("troubleshoot")'> </button>
    </div>	
    
    <div> 
    	<textarea cols=32 rows=10 name="troubleshoot" id="troubleshoot" onKeyDown="limitText(this.form.troubleshoot,this.form.countdown,1750);" 
    		onKeyUp="limitText(this.form.troubleshoot,this.form.countdown,1750);"></textarea> 
    	<br> 
    		<font size="1">(Maximum characters: 1750)<br> 
    		You have <input readonly type="text" name="countdown" size="3" value="1750" tabIndex="-1"> characters left.</font>
    </div> 
    
    	<p> 
    		<input type="button" value="display" onclick="collect(this.form)"/> 
    		<input type="button" value="Reset" style="position: relative; left: 132px;"  onClick="window.location.reload()" > 
    		
    </form> 
    
    <div id="results"></div> 
    	
    	<!-- display txt at bottom of page -->
    	<script type="text/javascript">
    	function collect(form) { 
    				var string = "" +
    				"<p>( "
    
    				for (var i = 0; i < form.verified.length; i++) { 
    					if (form.verified[i].checked){ 
    						string += " " +form.verified[i].value; 
    						} 
    					}
    
    				var text = form.troubleshoot.value;
    				text = text.replace(/\r?\n/g, '<br />');
    				
    				document.getElementById("results").innerHTML += string + " )" +
    				
    				"<br>Server Role: " + form.srvrole.value + 
    				"<br>OS: " + form.os.value +
    				"<br>Backup: " + form.backup.value + 
    				"<br>Controller: " + form.controller.value + 
      				"<p>" +
    
    				"Troubleshooting:<br>" + text +
    				"<br>" +
    
    				"<br>" +
    				"<br>Name: " + form.name_1.value + " " + form.name_2.value + 
    				"<br>Email: " + form.email.value + 
    				"<br>Pri Phone: " + "(" + form.pri_area.value + ")" + form.phone_1.value + " ext: " + form.phone_1_ext.value + 
    				"<br>Sec Phone: " + "(" + form.sec_area.value + ")" + form.phone_2.value + " ext: " + form.phone_2_ext.value +
    				"<br>" + form.emailverified.value +
    
    				"<hr/>"
    				}
    	</script>
    
    	<!---
    	<textarea cols=32 rows=10 name="results_text" value=string></textarea>
    	--->
    
    
    </div>
    
    
    
    <div class="panel" id="panel2" style="display:none">
    	<hr color="black">
    		
    
    	<!-- *8 -->
    		<div>
    			<u><b>Phone numbers & *8</b></u>
    			<br>
    			<br>
    			<a href="#" onClick="alert('APC\n\n800-555-2725\nMonday - Friday 8:00am - 8:00pm EST\n\n132 Fairgrounds Road\nW. Kingston , RI 02892\n\n\nWarranty Years 1-2 Conference with APC and APC will troubleshoot and replace if needed.\nWarranty Years 3+ Handle in Place.');">APC</a>
    			<br>
    			<a href="#" onClick="alert('Americas Command Escalation Technical Account Managers\n(Adjusting Customers Expectations, Temperment, And Maggoty)\n\n877-682-6087 opt 2');">AceTam</a>
    			<br>
    			<a href="#" onClick="alert('Account On Hold Group\n\866-383-4713');">Account on Hold</a>
    			<br>
    			<a href="#" onClick="alert('After Point of Sale\n\n800-288-4410 opt 2\n800-247-4618\n*8 07820');">APOS(Parts/Warranty)</a>
    			<br>
    			<a href="#" onClick="alert('Enterprise Call Director\n\n800-822-8965 opt 3 opt 2\n*8 07744');">Call Director</a>
    			<br>
    			<a href="#" onClick="alert('Customer Care\n\n800-456-3355\n*816887\n\nFrench *8 15746');">Customer Care</a>
    			<br>
    			<a href="#" onClick="alert('CCO - What does it mean?\n\n866-447-3493 opt 2');">CCO</a>
    			<br>
    			<a href="#" onClick="alert('Dell Financial Services (Not supported by us)\n\n877-577-3355\n*8 07486');">Dell Financial Services</a>
    			<br>
    			<a href="#" onClick="alert('Dell Lifetime Memory Support\n\n1-800-BUY-DELL');">Dell Lifetime Memory Support</a>
    			<br>
    			<a href="#" onClick="alert('Dell Online Self Dispatch (Warranty Parts Direct)\n\n*8 18388\n\n800-433-9509');">DOSP / WPD</a>
    			<br>
    			<a href="#" onClick="alert('Dell Service Providers\n\n*8 14884\n\nCanada\n800-839-0737');">DSP Queue</a>
    			<br>
    			<a href="#" onClick="alert('Expired Warranty Support\n\n800-261-1716\n\n*8 13373');">Exp Warranty (EWS)</a>
    			<br>
    			<a href="#" onClick="alert('Federal Express\n\n800-463-3339');">FedEx</a>
    			<br>
    			<a href="#" onClick="alert('Fast Track Dispatch\n\n866-624-8067');">Fast Track Dispatch</a>
    			<br>
    			<a href="#" onClick="alert('HacMc\n\nMain - 512-723-1149\n\n*33 7231149\n\nDeployment Support - 512-513-4018');">HacMc</a>
    			<br>
    			<a href="#" onClick="alert('Virtualization keys needed.\nIf they purcased Dell OEM copy they need to purchase new virtual key from sales or Microsoft.\n\nOEM is only for the original physical machine and the PHYSICAL machine only, virtual is not the original machine. \n\nDowngrade keys needed for Microsoft OS open/volume license /Cals\n\nPlease have cust contact Microsoft directly at 1-888-352-7140 on the Keycode hotline.\n\nThey handle all aspects of key issues, lost, missing, downgrade/upgrade keys needed to run the KEYS of CALS Open/Volume/Retail licenses.\n\nCustomer needs to purchase more Open/Volume Licenses\nCall Dell Open License on 1-800-248-2727\nThe Dell Open License Dept handles the sales and minor support with open/volume issues, but they are not able to reissue or change keys--ONLY MICROSOFT CAN!!!!!\n\nWhen customers purchase open/volume licenses or CALS from Dell they are considered open/volume license not OEM.  Only Dell branded media is OEM.  There is no need for keys on OEM due to authentication via mobo.   Once they go virtual, they are no longer able to use the OEM key, they need open/volume/retail keys in order for it to work.\n\nCustomer Purchased OEM OS OEM is only for the original physical machine and the PHYSICAL machine only, virtual is not the original machine.');">Licensing</a>
    			<br>
    			<a href="#" onClick="alert('Original Equipment Manufacturers [KCS 83786]\n\nGeneric		866-292-3355\n\nUnisys		877-585-7481\n\nNCR		800-433-2962\n\nCheckPoint	877-585-7479\n\nIGT		866-897-3355\n\nCisco		877-585-7480\n\n\nHandle in Place all except:\n\nCisco System / Iron Port\nEmerson / Fisher-Rosemount Systems\nHitachi Data Systems\nIGT - International Gaming Systems\nNCR / Teredata\nNetwork General / Netscout\nProofpoint\nSecure Computing / McAfee\nSysmantec\nUnisys');">OEM Numbers</a>
    			<br>
    			<a href="#" onClick="alert('On-Site Resource Center\n\n800-822-8127');">ORC</a>
    			<br>
    			<a href="#" onClick="alert('Out of Warranty Repair\n\n800-288-4410\n*8 13259');">Out of Warranty Repair</a>
    			<br>
    			<a href="#" onClick="alert('On-Site Technicians\n\nQualxServ	866-856-9899 Opt 1,3\n\nUnisys		800-328-0440 Opt 2,3');">On Site Tech</a>
    			<br>
    			<a href="#" onClick="alert('Pay As You Need Services(HCMS)\n\n866-940-3355\n*8 07744(Ask for PAYN\HCMS)\n*8 16208(Might be Workstation Only)');">Pay As You Need</a>
    			<br>
    			<a href="#" onClick="alert('ProSupport\n\n866-516-3115\n*8 15400 (Server)\n*8 07766(Workstation)');">ProSupport</a>
    			<br>
    			<a href="#" onClick="alert('Refurbished Sales (Outlet)\n\n888-518-3355\n*8 07850');">Refurbished Outlet</a>
    			<br>
    			<a href="#" onClick="alert('Spare Parts\n\n877-372-3355\n*8 07825\n\nCanada *8 13149');">Spare Parts</a>
    			<br>
    			<a href="#" onClick="alert('Warranty Extention Notice\n\n877-271-3115');">Wrnty Extention Notice</a>
    			<br>
    		</div>
    
    
    
    </body>
    </html>
  2. #2
  3. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,176
    Rep Power
    184
    Answer 1
    Code:
    document.form.notify.value
    Answer 2
    Code:
    	function collect(form) { 
    				var string = "" +
    				"<p>( "
    
    				for (var i = 0; i < form.verified.length; i++) { 
    					if (form.verified[i].checked){ 
    						string += " " +form.verified[i].value; 
    						} 
    					}
    
    				var text = form.troubleshoot.value;
    				text = text.replace(/\r?\n/g, '<br />');
    				
    				document.getElementById("troubleshoot").innerHTML += string + " )" +
    				
    				"<br>Server Role: " + form.srvrole.value + 
    				"<br>OS: " + form.os.value +
    				"<br>Backup: " + form.backup.value + 
    				"<br>Controller: " + form.controller.value + 
      				"<p>" +
    
    				"Troubleshooting:<br>" + text +
    				"<br>" +
    
    				"<br>" +
    				"<br>Name: " + form.name_1.value + " " + form.name_2.value + 
    				"<br>Email: " + form.email.value + 
    				"<br>Pri Phone: " + "(" + form.pri_area.value + ")" + form.phone_1.value + " ext: " + form.phone_1_ext.value + 
    				"<br>Sec Phone: " + "(" + form.sec_area.value + ")" + form.phone_2.value + " ext: " + form.phone_2_ext.value +
    				"<br>" + form.emailverified.value +
    
    				"<hr/>"
    				}
    You may want to stripout the html though and go with carriage returns; otherwise, it's not going to be very display friendly. You currently have a RegEx to convert carriage returns into html line-breaks; you may want to 86 that.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    2
    Rep Power
    0
    I have a single error now the notified case owner always shows value even when not checked.

    <input type="checkbox" name="notify" value="**notified case owner**" OnClick="">&nbsp Notified case owner
    document.form.notify.value +

    Always shows the value as **notified case owner** even when unchecked.

    Second problem I I solved with \n not creating a new line by replacing.

    document.getElementById("textresult").InnerHTML += string + " )" +

    to

    document.getElementById("textresult").value += string + " )" +



    New code below.

    Code:
    <html>
    <head>
    <title>Call Logger v1.6</title>
    
    <HTA:Application
     ID = "HTA"
     ApplicationName = "CallLogger"
     Border = "thin"
     BorderStyle = "normal"
     Caption = "yes"
     ContextMenu="yes"
     Icon = ""
     InnerBorder="no"
     MaximizeButton = "no"
     MinimizeButton = "yes"
     Navigable="yes"
     Scroll="yes"
     SrollFlat="no"
     Selection="yes"
     ShowInTaskBar = "yes"
     SingleInstance = "yes"
     SysMenu = "yes"
    >
    
    <script language="javascript" type="text/javascript">
    
    var panels = new Array("","panel1","panel2");
    
    function panel(tab) {
        for (i=1; i<panels.length; i++) {
            if (i == tab) {
                document.getElementById("tab"+i).className = "tabs tabs1";
                document.getElementById("panel"+i).style.display = "block";
            } else {
                document.getElementById("tab"+i).className = "tabs tabs0";
                document.getElementById("panel"+i).style.display = "none";
            }
        }
    } 
    
    function limitText(limitField, limitCount, limitNum) { 
        if (limitField.value.length > limitNum) { 
            limitField.value = limitField.value.substring(0, limitNum); 
        } else { 
            limitCount.value = limitNum - limitField.value.length; 
    	} 
    }
    
    function ShowClipboardContent () {
        alert (window.clipboardData.getData ("Text"));
    }
    
    function clip_from(id) { 
    clipboard(document.getElementById(id).value); 
    } 
    
    function clipboard(item){ //Copy item to clipboard. 
    if( window.clipboardData && clipboardData.setData ){ 
    clipboardData.setData("Text", item); 
    	} 
    }
    
    </script>
    
    <SCRIPT LANGUAGE="VBScript"> 
    Sub Window_onLoad 
        window.resizeTo 330,820 
    End Sub 
    window.moveTo 1440, 0 
    
    </script>
    
    <style type="text/css">
     body,td,th { font-family:Arial ;font-size:11px }
    .head { font-size:110%; font-weight:bold }
    .panel {
      background-color: white;
      z-index: 0;
    }
    .tabs {
      border-collapse: collapse;
      color: black;
      cursor: pointer;
      cursor: hand;
      font-family: arial;
      font-size: 9pt;
      font-weight: bold;
      margin-top: 4px;
      padding: 2px 4px 0px 4px;
      position: relative;
      text-align: center;
      text-decoration: none;
      z-index: 1;
    }
    .tabs0 {
      background-color: wheat;
      border: solid 1px black;
    }
    .tabs1 {
      background-color: white;
      border-color: black black white black;
      border-style: solid solid solid solid;
      border-width: 1px 1px 1px 1px;
    }
    
    </style>
    </head>
    
    
    <body>
    
    &nbsp; <span class="tabs tabs1" id="tab1" onclick="panel(1)">Tab 1</span>
    &nbsp; <span class="tabs tabs0" id="tab2" onclick="panel(2)">Tab 2</span>
    
    <div class="panel" id="panel1" style="display:block">
    	<hr color="black">
    
    <form name ="form">
    
    <form id="form" class="appnitro"  method="post" action=""> 
         	<div class="form_description"></div>
      
    <div>
    		<label class="description" for="element_1"><b>Svc Tag or Code</b></label><label class="description" for="SR"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbspService Request</b></label> 
    		<br>
    	<span> 
    	     	<input id="SvcTag" type="text" name="SvcTag" maxlength="11" size="12" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px " tabindex="-1" onclick='clip_from("SvcTag")'></button>
    	</span>
    	<span>
    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
    		<input type="text" name="SR" id="SR" maxlength="9" size="10" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("SR")'></button>
    	</span>
    </div>
      
    <div>  
    	<br> 
    	<label class="description" for="Name"><b>Name</b></label>
    	<br> 
    	<span> 
    		<input type="text" name= "name_1" class="element text" maxlength="30" size="14" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("name_1")'></button>
     	</span> 
     	<span> 
    		<input type="text" name= "name_2" class="element text" maxlength="30" size="18" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("name_2")'></button> 
    	</span> 
       
    	<br> 
    		<label class="description" for="email"><b>Email</b></label>
    	<br> 
    	
    	<div> 
    		<input type="text" name="email" id="email" type="text" maxlength="50" size="40" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("email")'></button>
    	</div>
    </div> 
    
    
    <div>  
    	<br> 
    		<label class="description" for="phone_1"><b>Primary Phone</b></label>
    	<br> 
     
    	<span> 
    		<input type="text" name="pri_area" class="element text medium" type="text" maxlength="3" size="4" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("pri_area")'></button> 
    	</span> 
    	<span> 
    		<input type="text" name="phone_1" class="element text medium" type="text" maxlength="8" size="9" value=""/>
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_1")'></button>  
    	</span> 
    	<span> 
    		<input type="text" name="phone_1_ext" class="element text medium" type="text" maxlength="5" size="6" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_1_ext")'></button>  
    	</span>        
    </div> 
      
    <div>  
    		<label class="description" for="phone_2"><b>Secondary Phone</b></label> 
    	<br> 
    	<span> 
    		<input type="text" name="sec_area" class="element text medium" type="text" maxlength="3" size="4" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("sec_area")'></button> 
    	</span> 
    	<span> 
    		<input type="text" name="phone_2" class="element text medium" type="text" maxlength="8" size="9" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_2")'></button>  
    	</span> 
    	<span>
    		<input type="text" name="phone_2_ext" class="element text medium" type="text" maxlength="5" size="6" value=""/> 
    		<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 22px; WIDTH: 18px" tabindex="-1" onclick='clip_from("phone_2_ext")'></button>  
    	</span> 
    </div> 
    
    <div>
    	<br> 
    		<label class="description" for="emailverified"><b>Email verified</b></label> 
    	<div> 
    	<select style="width: 254px" class="element select medium" id="emailverified" name="emailverified"> 
    		<option value="" selected="selected"></option> 
    		<option value="**cust verified email recieved**" >cust verified email recieved</option> 
    		<option value="**cust does not have access to email**" >cust does not have access to email</option>
    		<option value="**cust email takes a while to receive**" >cust email takes a while to receive</option>
    		<option value="**kana down not able to send email**" >kana down</option>
    	</select>
    	</div> 
    </div>
    
    <div>
    	<br> 
    		<label class="description" for="verified"><b>Verification</b></label> 
    	<span> 
    	<br> 
    		<input type="radio" name="verified" value="VA" onClick="">VA 
    		<input type="radio" name="verified" value="Silent VA" onClick="">Silent VA 
    		<input type="radio" name="verified" value="No VA" Onclick="">No VA 
    	<br>
    		<input type="checkbox" name="verified" value="VCI" OnClick="">VCI  
    		<input type="checkbox" name="verified" value="VDI" OnClick="">VDI 
                <input type="checkbox" name="verified" value="TARP" OnClick="">TARP
    		<input type="checkbox" name="verified" value="COTERM" OnClick"">COTERM 
    	</span> 
    </div> 
    
    <div>
    	<br>
    	<input type="hidden" name="notify" value="**notified case owner**" OnClick="">
    </div>
    
    <div>
    		<label class="description" for="os"><b>Operating System</b></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label class="description" for="backup"><b>Backup Status</b></label> 
    	<div> 
    	<select style="width: 135px" class="element select medium" id="os" name="os"> 
    		<option value="None" selected="selected">None</option> 
    		<option value="Server 2000" >Server 2000</option> 
    		<option value="Server 2000 SBS" >Server 2000 SBS</option>
    		<option value="Server 2003 x86" >Server 2003 x86</option> 
    		<option value="Server 2003 x64" >Server 2003 x64</option> 
    		<option value="Server 2003 R2 x86" >Server 2003 R2 x86</option> 
    		<option value="Server 2003 R2 x64" >Server 2003 R2 x64</option>
    		<option value="Server 2003 SBS" >Server 2003 SBS</option> 
    		<option value="Server 2008 x86" >Server 2008 x86</option> 
    		<option value="Server 2008 x64" >Server 2008 x64</option>
    		<option value="Server 2008 SBS" >Server 2008 SBS</option> 
    		<option value="Server 2008 R2" >Server 2008 R2</option> 
    		<option value="Server 2011" >Server 2011</option> 
    		<option value="Server 2011 SBS" >Server 2011 SBS</option> 
    		<option value="Server 2012" >Server 2012</option> 
    		<option value="Linux base OS" >Linux OS</option> 
    		<option value="Xen or ESXi OS" >Xen or ESXi OS</option> 
    		<option value="Non Server OS" >Non Server OS</option> 
    	</select> 
    	</span>
    	<span> 
    	<select style="width: 135px" class="element select medium" id="backup" name="backup"> 
    		<option value="N/A" selected="selected">Not applicable</option> 
    		<option value="No backup" >No backup</option> 
    		<option value="Yes" >Yes</option>
    		<option value="Think so" >Think so</option> 
    		<option value="Backup not current" >Backup not current</option> 
    		<option value="Do not know" >Do not know</option>
    		<option value="New installation" > New installation</option>
    	</select> 
    	</span> 
    	</div>
    </div> 
    
    <div>
    	<label class="description" for="SvrRole"><b>Server Role</b></label>
         	<input id="srvrole" type="text" name="srvrole" maxlength="55" size="41" value=""/>	
    </div>
    
    <div>
    	<br> 
    		<label class="description" for="controller"><b>RAID Controller</b></label> 
    	<div> 
    	<select style="width: 135px" class="element select medium" id="controller" name="controller"> 
    		<option value="None" selected="selected">None</option> 
    		<option value="CERC" >CERC</option> 
    		<option value="PERC 3" >PERC 3</option> 
    		<option value="PERC 4" >PERC 4</option> 
    		<option value="PERC 5" >PERC 5</option> 
    		<option value="PERC 6" >PERC 6</option> 
    		<option value="PERC H300" >PERC H300</option> 
    		<option value="PERC H310" >PERC H310</option> 
    		<option value="PERC H700" >PERC H700</option> 
    		<option value="PERC H710" >PERC H710</option> 
    		<option value="PERC H200" >PERC H200</option> 
    		<option value="PERC S100" >PERC S100</option> 
    		<option value="PERC S110" >PERC S110</option> 
    		<option value="PERC S300" >PERC S300</option> 
    		<option value="PERC S310" >PERC S310</option> 
    		<option value="SAS 5" >SAS 5</option> 
    		<option value="SAS 6" >SAS 6</option> 
    		<option value="SATA" >SATA</option> 
    	</select> 
    	</div>
    </div> 
    
    <div>  
    	<br> 
    	<label class="description" for="troubleshoot"><b>Troubleshooting</b></label>
    	&nbsp<button style="BACKGROUND-IMAGE: url(mini_clip.gif); HEIGHT: 19px; WIDTH: 20px" tabindex="-1" onclick='clip_from("troubleshoot")'> </button>
    </div>	
    
    <div> 
    	<textarea cols=32 rows=10 name="troubleshoot" id="troubleshoot" onKeyDown="limitText(this.form.troubleshoot,this.form.countdown,1750);" 
    		onKeyUp="limitText(this.form.troubleshoot,this.form.countdown,1750);"></textarea> 
    	<br> 
    		<font size="1">(Maximum characters: 1750)<br> 
    		You have <input readonly type="text" name="countdown" size="3" value="1750" tabIndex="-1"> characters left.</font>
    </div> 
    
    	<p> 
    		<input type="button" value="Display" onclick="collect(this.form)"/>&nbsp
    		<input type="button" value="Copy Activity" onclick='clip_from("textresult")'>&nbsp
    		<input type="button" value="Reset" onClick="window.location.reload()" > 
    		<!--
    		<input type="button" value="Reset" style="position: relative; left: 132px;"  onClick="window.location.reload()" > --> 
    
    <div>
    	<p>
    	<textarea cols=32 rows=10 name="textresult" id="textresult" wrap="hard" value=""></textarea>
    </div>	
    	
    </form> 
    
    <div id="results"></div> 
    	
    	<!-- display txt at bottom of page -->
    	<script type="text/javascript">
    	function collect(form) { 
    				var string = "" +
    				"("
    
    				for (var i = 0; i < form.verified.length; i++) { 
    					if (form.verified[i].checked){ 
    						string += " " +form.verified[i].value; 
    						} 
    					}
    
    				var text = form.troubleshoot.value;
    				<!--text = text.replace(/\r?\n/g, '<br />');-->
    				
    				document.getElementById("textresult").value += string + " )" +
    				
    				"\nServer Role: " + form.srvrole.value + 
    				"\nOS: " + form.os.value +
    				"\nBackup: " + form.backup.value + 
    				"\nController: " + form.controller.value + 
      				"\n\n" +
    
    				"Troubleshooting:\n" + text +
    				"\n" +
    	
    				"\n" +
    				"\nName: " + form.name_1.value + " " + form.name_2.value + 
    				"\nEmail: " + form.email.value + 
    				"\nPri Phone: " + "(" + form.pri_area.value + ")" + form.phone_1.value + " ext: " + form.phone_1_ext.value + 
    				"\nSec Phone: " + "(" + form.sec_area.value + ")" + form.phone_2.value + " ext: " + form.phone_2_ext.value +
    				"\n" + form.emailverified.value
    
    				}
    	</script>
    
    </div>
    
    
    
    <div class="panel" id="panel2" style="display:none">
    	<hr color="black">
    		
    
    	<!-- *8 -->
    		<div>
    			<u><b>Phone numbers & *8</b></u>
    			<br>
    			<br>
    			<a href="#" onClick="alert('APC\n\n800-555-2725\nMonday - Friday 8:00am - 8:00pm EST\n\n132 Fairgrounds Road\nW. Kingston , RI 02892\n\n\nWarranty Years 1-2 Conference with APC and APC will troubleshoot and replace if needed.\nWarranty Years 3+ Handle in Place.');">APC</a>
    			<br>
    			<a href="#" onClick="alert('Americas Command Escalation Technical Account Managers\n(Adjusting Customers Expectations, Temperment, And Maggoty)\n\n877-682-6087 opt 2');">AceTam</a>
    			<br>
    			<a href="#" onClick="alert('Account On Hold Group\n\866-383-4713');">Account on Hold</a>
    			<br>
    			<a href="#" onClick="alert('After Point of Sale\n\n800-288-4410 opt 2\n800-247-4618\n*8 07820');">APOS(Parts/Warranty)</a>
    			<br>
    			<a href="#" onClick="alert('Enterprise Call Director\n\n800-822-8965 opt 3 opt 2\n*8 07744');">Call Director</a>
    			<br>
    			<a href="#" onClick="alert('Customer Care\n\n800-456-3355\n*816887\n\nFrench *8 15746');">Customer Care</a>
    			<br>
    			<a href="#" onClick="alert('CCO - What does it mean?\n\n866-447-3493 opt 2');">CCO</a>
    			<br>
    			<a href="#" onClick="alert('Dell Financial Services (Not supported by us)\n\n877-577-3355\n*8 07486');">Dell Financial Services</a>
    			<br>
    			<a href="#" onClick="alert('Dell Lifetime Memory Support\n\n1-800-BUY-DELL');">Dell Lifetime Memory Support</a>
    			<br>
    			<a href="#" onClick="alert('Dell Online Self Dispatch (Warranty Parts Direct)\n\n*8 18388\n\n800-433-9509');">DOSP / WPD</a>
    			<br>
    			<a href="#" onClick="alert('Dell Service Providers\n\n*8 14884\n\nCanada\n800-839-0737');">DSP Queue</a>
    			<br>
    			<a href="#" onClick="alert('Expired Warranty Support\n\n800-261-1716\n\n*8 13373');">Exp Warranty (EWS)</a>
    			<br>
    			<a href="#" onClick="alert('Federal Express\n\n800-463-3339');">FedEx</a>
    			<br>
    			<a href="#" onClick="alert('Fast Track Dispatch\n\n866-624-8067');">Fast Track Dispatch</a>
    			<br>
    			<a href="#" onClick="alert('HacMc\n\nMain - 512-723-1149\n\n*33 7231149\n\nDeployment Support - 512-513-4018');">HacMc</a>
    			<br>
    			<a href="#" onClick="alert('Virtualization keys needed.\nIf they purcased Dell OEM copy they need to purchase new virtual key from sales or Microsoft.\n\nOEM is only for the original physical machine and the PHYSICAL machine only, virtual is not the original machine. \n\nDowngrade keys needed for Microsoft OS open/volume license /Cals\n\nPlease have cust contact Microsoft directly at 1-888-352-7140 on the Keycode hotline.\n\nThey handle all aspects of key issues, lost, missing, downgrade/upgrade keys needed to run the KEYS of CALS Open/Volume/Retail licenses.\n\nCustomer needs to purchase more Open/Volume Licenses\nCall Dell Open License on 1-800-248-2727\nThe Dell Open License Dept handles the sales and minor support with open/volume issues, but they are not able to reissue or change keys--ONLY MICROSOFT CAN!!!!!\n\nWhen customers purchase open/volume licenses or CALS from Dell they are considered open/volume license not OEM.  Only Dell branded media is OEM.  There is no need for keys on OEM due to authentication via mobo.   Once they go virtual, they are no longer able to use the OEM key, they need open/volume/retail keys in order for it to work.\n\nCustomer Purchased OEM OS OEM is only for the original physical machine and the PHYSICAL machine only, virtual is not the original machine.');">Licensing</a>
    			<br>
    			<a href="#" onClick="alert('Original Equipment Manufacturers [KCS 83786]\n\nGeneric		866-292-3355\n\nUnisys		877-585-7481\n\nNCR		800-433-2962\n\nCheckPoint	877-585-7479\n\nIGT		866-897-3355\n\nCisco		877-585-7480\n\n\nHandle in Place all except:\n\nCisco System / Iron Port\nEmerson / Fisher-Rosemount Systems\nHitachi Data Systems\nIGT - International Gaming Systems\nNCR / Teredata\nNetwork General / Netscout\nProofpoint\nSecure Computing / McAfee\nSysmantec\nUnisys');">OEM Numbers</a>
    			<br>
    			<a href="#" onClick="alert('On-Site Resource Center\n\n800-822-8127');">ORC</a>
    			<br>
    			<a href="#" onClick="alert('Out of Warranty Repair\n\n800-288-4410\n*8 13259');">Out of Warranty Repair</a>
    			<br>
    			<a href="#" onClick="alert('On-Site Technicians\n\nQualxServ	866-856-9899 Opt 1,3\n\nUnisys		800-328-0440 Opt 2,3');">On Site Tech</a>
    			<br>
    			<a href="#" onClick="alert('Pay As You Need Services(HCMS)\n\n866-940-3355\n*8 07744(Ask for PAYN\HCMS)\n*8 16208(Might be Workstation Only)');">Pay As You Need</a>
    			<br>
    			<a href="#" onClick="alert('ProSupport\n\n866-516-3115\n*8 15400 (Server)\n*8 07766(Workstation)');">ProSupport</a>
    			<br>
    			<a href="#" onClick="alert('Refurbished Sales (Outlet)\n\n888-518-3355\n*8 07850');">Refurbished Outlet</a>
    			<br>
    			<a href="#" onClick="alert('Spare Parts\n\n877-372-3355\n*8 07825\n\nCanada *8 13149');">Spare Parts</a>
    			<br>
    			<a href="#" onClick="alert('Warranty Extention Notice\n\n877-271-3115');">Wrnty Extention Notice</a>
    			<br>
    		</div>
    
    
    
    </body>
    </html>

IMN logo majestic logo threadwatch logo seochat tools logo