Hi I stumbled upon one of the discussions here regarding copying entire form to clipboard and tried using the code myself but am having some problems with it...please hep me on whats wrong with this..thanks!


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>DTC Logging Tool</title>
</head>

<SCRIPT LANGUAGE="JavaScript">

function updateDescription (frm)
{
var Template = ""

Template += "Service Tag: " + frm.ServiceTag.value + "\r\n";
Template += "System Type: " + frm.SystemType.value + "\r\n";
Template += "OS: " + frm.OS.value + "\r\n";
Template += "***DTC Entitled*** " ;
Template += "DTC Order Number: " + frm.DTCOrderNumber.value + "\r\n";
Template += "Issue: " + frm.Issue.value + "\r\n";
Template += "Troubleshooting Steps: " + frm.TS.value + "\r\n";
Template += "HFN Tool Used: " + frm.HFNTool.value + "\r\n";
Template += "DC Session ID: " + frm.DCSessionID.value + "\r\n";
Template += "Cobro: " + frm.Cobro.value + "\r\n";
Template += "NTP: " + frm.NTP.value + "\r\n";
Template += "Heatcheck: " + frm.Heatcheck.value + "\r\n";
Template += "NonSat Reason: " + frm.NonSatReason.value + "\r\n";

frm.holdtext.value = Template;
Copied=frm.holdtext.createTextRange();
Copied.execCommand('copy');
alert('Information has been copied, right click and select paste or press ctrl+V to paste into Delta');


}

</SCRIPT>

<body align=center>
<form id="DesksideForm" name="DesksideForm" method="post" action="">

<br>
<table cellspacing="20" align="center"><tr><td valign="middle"></td>
<td><font

size="+2"><b>DTC Logging Tool</b></font></td><td></td></tr></table>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle">Service Tag:</td>
<td><input name="ServiceTag" type="text" id="ServiceTag" value="" size="30" /></td>
</tr>
<tr>
<td valign="top">System Type:</td>
<td><input name="SystemType" type="text" id="SystemType" size="30" /></td>
</tr>
<tr>
<td valign="top">OS:</td>
<td><input name="OS" type="text" id="OS" size="30" /></td>
</tr>
<tr>
<td valign="top">***DTC Entitled***</td>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top">DTC Order Number:</td>
<td><input name="DTCOrderNumber" type="text" id="DTCOrderNumber" size="30" /></td>
</tr>
<tr>
<td valign="top">Issue:</td>
<td><input name="Issue" type="text" id="Issue" size="30" /></td>
</tr>
<tr>
<td width="332" valign="middle"><label id="TS">Troubleshooting Steps:</label></td>
<td width="365"><textarea name="TS" cols="50" rows="4" wrap="virtual" id="TS"></textarea></td>
</tr>
<tr>
<td valign="top">HFN Tool Used:</td>
<td><label>
<select name="HFNTool" size="1" id="HFNTool">
<option value="" selected="selected"></option>
<option value="YES">YES</option>
<option value="NO">NO</option>
</select>
</label></td>
</tr>
<tr>
<td valign="top">DC Session ID:</td>
<td><input name="DCSessionID" type="text" id="DCSessionID" size="30" /></td>
</tr>
<tr>
<td valign="top">Cobro:</td>
<td><label>
<select name="Cobro" size="1" id="Cobro">
<option value="" selected="selected"></option>
<option value="YES">YES</option>
<option value="NO">NO</option>
</select>
</label></td>
</tr>

<tr>
<td valign="top">NTP:</td>
<td><input name="NTP" type="text" id="NTP" size="50" /></td>
</tr>

<tr>
<td valign="top">Heatcheck:</td>
<td><label>
<select name="Heatcheck" size="1" id="Heatcheck">
<option value="" selected="selected"></option>
<option value="SAT">SAT</option>
<option value="NonSAT">NonSat</option>
</select>
</label></td>
</tr>
<tr>
<td width="332" valign="middle"><label id="NonSatReason">NonSat Reason:</label></td>
<td width="365"><textarea name="NonSatReason" cols="50" rows="2" wrap="virtual" id="NonSatReason"></textarea></td>
</tr>
<tr>
<td align="center" valign="middle"><label>
<input type="reset" name="Reset" value="Clear Template" />
</label></td>
<td align="center" valign="middle"><input type="button" name="copyform" value="Complete" onclick="updateDescription(this.form)"/> </td>
</tr>
</table>
<textarea name="holdtext" cols="100" rows="10" id="holdtext" style=visibility:hidden></textarea>
</form>
</body>
</html>