D
Dave Lagergren
I have a form on a sub-web used for processing orders from reps in the field.
We had some server set-up problems (fixed by the help of a number of people
here) that allowed another 4 forms to save/email input correctly from the
main site. This one, on the sub web, will not save the file or email. I
created another short page on the sub-web and it works fine.
Here is the code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Order</title>
<meta name="Microsoft Theme" content="journal 1011">
<meta name="Microsoft Border" content="none">
</head>
<body>
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td width="10%" align="center" valign="top">
<p><font face="Arial">
<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="graphics" B-Include-Home="TRUE" B-Include-Up="TRUE"
U-Page="sid:1003" S-Theme="Spring 0000" --></font></p>
<p><font face="Arial"><br>
</font>
<font size="1" face="Arial"><b>You are logged on as:
<%
If Len(Session("UID")) = 0 Then
Response.Write "<b>You are not logged on.</b>"
Else
Response.Write "<b>" & Session("UID") & "</b>"
If (Session("UID")) = "fish" Then%>
<br>
<br>
<a href="update_sales.asp">Update Sales</a><br>
<%End if
End If
%>
</td>
<td align="left" width="90%" valign="top">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" S-Builtin-Fields="REMOTE_NAME REMOTE_USER Date
Time" S-Date-Format="%A, %B %d, %Y" S-Time-Format="%I:%M %p"
S-Form-Fields="Type_Network Type_Customer Ship Shipping Corp_ID Num_Units
Acct_Num PWD Customer Contact Contact_Phone Add1 Add2 City State Model1
IMEI_SIM1 ESN1 Rate_Plan1 SOC1 AC_Prefix1 Alias1 Model2 IMEI_SIM2 ESN2
Rate_Plan2 SOC2 AC_Prefix2 Alias2 Model3 IMEI_SIM3 ESN3 Rate_Plan3 SOC3
AC_Prefix3 Alias3 Model4 IMEI_SIM4 ESN4 Rate_Plan4 SOC4 AC_Prefix4 Alias4
Model5 IMEI_SIM5 ESN5 Rate_Plan5 SOC5 AC_Prefix5 Alias5 Model6 IMEI_SIM6 ESN6
Rate_Plan6 SOC6 AC_Prefix6 Alias6 Model7 IMEI_SIM7 ESN7 Rate_Plan7 SOC7
AC_Prefix7 Alias7 Model8 IMEI_SIM8 ESN8 Rate_Plan8 SOC8 AC_Prefix8 Alias8
Model9 IMEI_SIM9 ESN9 Rate_Plan9 SOC9 AC_Prefix9 Alias9 Model10 IMEI_SIM10
ESN10 Rate_Plan10 SOC10 AC_Prefix10 Alias10 CC CC_Type CC_Exp CC_Code "
startspan U-Confirmation-Url="Order_Confirmation.htm" S-Label-Fields="TRUE"
B-Reverse-Chronology="FALSE" U-File="_private/Order_List.txt"
S-Format="TEXT/TSV" S-Email-Address="(e-mail address removed)"
S-Email-Format="TEXT/PRE" --><!--webbot bot="SaveResults" endspan-->
<fieldset style="width:250px" align="right">
<legend align="center"><font face="Arial"><b>Network</b></font></legend>
<font face="Arial"> Iden<input type="radio" value="Iden"
name="Type_Network" checked tabindex="4">
CDMA<input type="radio" value="CDMA" name="Type_Network"
tabindex="5"></font>
</fieldset>
<fieldset style="width:350px" align="left">
<legend align="center"><font face="Arial"><b>Type Of
Order</b></font></legend>
<font face="Arial"> New Customer<input type="radio" value="New Customer"
name="Type_Customer" checked tabindex="1">
Add-On<input type="radio" value="Add On" name="Type_Customer"
tabindex="2">
Upgrade<input type="radio" value="Upgrade" name="Type_Customer"
tabindex="3"></font>
</fieldset>
<br clear="all">
<fieldset style="width:100%" align="left">
<legend align="center"><font face="Arial"><b>Order
Information</b></font></legend>
<font face="Arial"> Deliver From:
<select size="1" name="Ship" tabindex="6">
<option value="VAD" selected>VAD</option>
<option value="Auburn">Auburn</option>
<option value="Federal Way">Federal Way</option>
<option value="Renton">Renton</option>
<option value="Warehouse">Warehouse</option>
<option value="COAM">COAM</option>
</select>
Shipping:
<select size="1" name="Shipping" tabindex="7">
<option selected>Priority</option>
<option>2nd Day</option>
</select>
Corp ID/Root Node:
<input type="text" name="Corp_ID" size="20" tabindex="8"></font><p>
<font face="Arial"> Number of Units:
<input type="text" name="Num_Units" size="4" tabindex="9"
maxlength="999">
Account Number:
<input type="text" name="Acct_Num" size="16" tabindex="10"
maxlength="999">
Password: <input type="text" name="PWD" size="15" tabindex="11">
</font> </p>
<p><font face="Arial"> Customer:
<input type="text" name="Customer" size="20" maxlength="999"
tabindex="12">
Contact: <input type="text" name="Contact" size="20" tabindex="13">
Phone: <input type="text" name="Contact_Phone" size="20"
tabindex="14"></font></p>
<p><font face="Arial"> Address:
<input type="text" name="Add1" size="20" maxlength="999" tabindex="15">
Address: <input type="text" name="Add2" size="20" tabindex="16">
City:
<input type="text" name="City" size="20" maxlength="999" tabindex="17">
State:
<select size="1" name="State" tabindex="18">
<option selected value="WA">WA</option>
<option value="OR">OR</option>
<option value="ID">ID</option>
<option value="CA">CA</option>
</select>
ZIP:
<input type="text" name="T1" size="20" tabindex="18"></font></p>
<table border="0" width="100%" id="table2" cellspacing="0"
cellpadding="0">
<tr>
<td align="center"><font face="Arial"><b>Model</b></font></td>
<td align="center"><font face="Arial"><b>IMEI/SIM</b></font></td>
<td align="center"><font face="Arial"><b>ESN </b></font></td>
<td align="center"><font face="Arial"><b>Rate Plan</b></font></td>
<td align="center"><font face="Arial"><b>SOCS</b></font></td>
<td align="center"><font face="Arial"><b>AC/PREFIX</b></font></td>
<td align="center"><font face="Arial"><b>Alias</b></font></td>
</tr>
<tr>
<td><font face="Arial">
<input type="text" name="Model1" size="20" tabindex="20"></font></td>
<td><font face="Arial">
<input type="text" name="IMEI_SIM1" size="20" tabindex="21"></font></td>
<td><font face="Arial">
<input type="text" name="ESN1" size="20" tabindex="22"></font></td>
<td><font face="Arial">
<input type="text" name="Rate_Plan1" size="20"
tabindex="23"></font></td>
<td><font face="Arial">
<input type="text" name="SOC1" size="20" tabindex="24"></font></td>
<td><font face="Arial">
<input type="text" name="AC_Prefix1" size="20"
tabindex="25"></font></td>
<td><font face="Arial">
<input type="text" name="Alias1" size="20" tabindex="26"></font></td>
</tr>
<tr>
<td </table>
-----Redundant stuff cut out here------
<p align="center"><font size="2" face="Arial"><i> Note: If ordering
multiple units with identical Rate Plans, SOCS, etc. You may
put the number of units in </i>Number of Units<i> and enter in ONE line
above.</i></font></p>
<p><font face="Arial"> CC for Billing: <input type="text" name="CC"
size="20">
Type: <select size="1" name="CC_Type">
<option>Master Card</option>
<option>Visa</option>
<option>Discover</option>
<option>AMEX</option>
</select> Exp.Code: <input type="text" name="CC_Exp" size="10">
Code: <input type="text" name="CC_Code" size="4"></font></p>
<input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2">
</fieldset>
</td>
</tr>
</table>
</form>
</body>
</html>
We had some server set-up problems (fixed by the help of a number of people
here) that allowed another 4 forms to save/email input correctly from the
main site. This one, on the sub web, will not save the file or email. I
created another short page on the sub-web and it works fine.
Here is the code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Order</title>
<meta name="Microsoft Theme" content="journal 1011">
<meta name="Microsoft Border" content="none">
</head>
<body>
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td width="10%" align="center" valign="top">
<p><font face="Arial">
<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="graphics" B-Include-Home="TRUE" B-Include-Up="TRUE"
U-Page="sid:1003" S-Theme="Spring 0000" --></font></p>
<p><font face="Arial"><br>
</font>
<font size="1" face="Arial"><b>You are logged on as:
<%
If Len(Session("UID")) = 0 Then
Response.Write "<b>You are not logged on.</b>"
Else
Response.Write "<b>" & Session("UID") & "</b>"
If (Session("UID")) = "fish" Then%>
<br>
<br>
<a href="update_sales.asp">Update Sales</a><br>
<%End if
End If
%>
</td>
<td align="left" width="90%" valign="top">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" S-Builtin-Fields="REMOTE_NAME REMOTE_USER Date
Time" S-Date-Format="%A, %B %d, %Y" S-Time-Format="%I:%M %p"
S-Form-Fields="Type_Network Type_Customer Ship Shipping Corp_ID Num_Units
Acct_Num PWD Customer Contact Contact_Phone Add1 Add2 City State Model1
IMEI_SIM1 ESN1 Rate_Plan1 SOC1 AC_Prefix1 Alias1 Model2 IMEI_SIM2 ESN2
Rate_Plan2 SOC2 AC_Prefix2 Alias2 Model3 IMEI_SIM3 ESN3 Rate_Plan3 SOC3
AC_Prefix3 Alias3 Model4 IMEI_SIM4 ESN4 Rate_Plan4 SOC4 AC_Prefix4 Alias4
Model5 IMEI_SIM5 ESN5 Rate_Plan5 SOC5 AC_Prefix5 Alias5 Model6 IMEI_SIM6 ESN6
Rate_Plan6 SOC6 AC_Prefix6 Alias6 Model7 IMEI_SIM7 ESN7 Rate_Plan7 SOC7
AC_Prefix7 Alias7 Model8 IMEI_SIM8 ESN8 Rate_Plan8 SOC8 AC_Prefix8 Alias8
Model9 IMEI_SIM9 ESN9 Rate_Plan9 SOC9 AC_Prefix9 Alias9 Model10 IMEI_SIM10
ESN10 Rate_Plan10 SOC10 AC_Prefix10 Alias10 CC CC_Type CC_Exp CC_Code "
startspan U-Confirmation-Url="Order_Confirmation.htm" S-Label-Fields="TRUE"
B-Reverse-Chronology="FALSE" U-File="_private/Order_List.txt"
S-Format="TEXT/TSV" S-Email-Address="(e-mail address removed)"
S-Email-Format="TEXT/PRE" --><!--webbot bot="SaveResults" endspan-->
<fieldset style="width:250px" align="right">
<legend align="center"><font face="Arial"><b>Network</b></font></legend>
<font face="Arial"> Iden<input type="radio" value="Iden"
name="Type_Network" checked tabindex="4">
CDMA<input type="radio" value="CDMA" name="Type_Network"
tabindex="5"></font>
</fieldset>
<fieldset style="width:350px" align="left">
<legend align="center"><font face="Arial"><b>Type Of
Order</b></font></legend>
<font face="Arial"> New Customer<input type="radio" value="New Customer"
name="Type_Customer" checked tabindex="1">
Add-On<input type="radio" value="Add On" name="Type_Customer"
tabindex="2">
Upgrade<input type="radio" value="Upgrade" name="Type_Customer"
tabindex="3"></font>
</fieldset>
<br clear="all">
<fieldset style="width:100%" align="left">
<legend align="center"><font face="Arial"><b>Order
Information</b></font></legend>
<font face="Arial"> Deliver From:
<select size="1" name="Ship" tabindex="6">
<option value="VAD" selected>VAD</option>
<option value="Auburn">Auburn</option>
<option value="Federal Way">Federal Way</option>
<option value="Renton">Renton</option>
<option value="Warehouse">Warehouse</option>
<option value="COAM">COAM</option>
</select>
Shipping:
<select size="1" name="Shipping" tabindex="7">
<option selected>Priority</option>
<option>2nd Day</option>
</select>
Corp ID/Root Node:
<input type="text" name="Corp_ID" size="20" tabindex="8"></font><p>
<font face="Arial"> Number of Units:
<input type="text" name="Num_Units" size="4" tabindex="9"
maxlength="999">
Account Number:
<input type="text" name="Acct_Num" size="16" tabindex="10"
maxlength="999">
Password: <input type="text" name="PWD" size="15" tabindex="11">
</font> </p>
<p><font face="Arial"> Customer:
<input type="text" name="Customer" size="20" maxlength="999"
tabindex="12">
Contact: <input type="text" name="Contact" size="20" tabindex="13">
Phone: <input type="text" name="Contact_Phone" size="20"
tabindex="14"></font></p>
<p><font face="Arial"> Address:
<input type="text" name="Add1" size="20" maxlength="999" tabindex="15">
Address: <input type="text" name="Add2" size="20" tabindex="16">
City:
<input type="text" name="City" size="20" maxlength="999" tabindex="17">
State:
<select size="1" name="State" tabindex="18">
<option selected value="WA">WA</option>
<option value="OR">OR</option>
<option value="ID">ID</option>
<option value="CA">CA</option>
</select>
ZIP:
<input type="text" name="T1" size="20" tabindex="18"></font></p>
<table border="0" width="100%" id="table2" cellspacing="0"
cellpadding="0">
<tr>
<td align="center"><font face="Arial"><b>Model</b></font></td>
<td align="center"><font face="Arial"><b>IMEI/SIM</b></font></td>
<td align="center"><font face="Arial"><b>ESN </b></font></td>
<td align="center"><font face="Arial"><b>Rate Plan</b></font></td>
<td align="center"><font face="Arial"><b>SOCS</b></font></td>
<td align="center"><font face="Arial"><b>AC/PREFIX</b></font></td>
<td align="center"><font face="Arial"><b>Alias</b></font></td>
</tr>
<tr>
<td><font face="Arial">
<input type="text" name="Model1" size="20" tabindex="20"></font></td>
<td><font face="Arial">
<input type="text" name="IMEI_SIM1" size="20" tabindex="21"></font></td>
<td><font face="Arial">
<input type="text" name="ESN1" size="20" tabindex="22"></font></td>
<td><font face="Arial">
<input type="text" name="Rate_Plan1" size="20"
tabindex="23"></font></td>
<td><font face="Arial">
<input type="text" name="SOC1" size="20" tabindex="24"></font></td>
<td><font face="Arial">
<input type="text" name="AC_Prefix1" size="20"
tabindex="25"></font></td>
<td><font face="Arial">
<input type="text" name="Alias1" size="20" tabindex="26"></font></td>
</tr>
<tr>
<td </table>
-----Redundant stuff cut out here------
<p align="center"><font size="2" face="Arial"><i> Note: If ordering
multiple units with identical Rate Plans, SOCS, etc. You may
put the number of units in </i>Number of Units<i> and enter in ONE line
above.</i></font></p>
<p><font face="Arial"> CC for Billing: <input type="text" name="CC"
size="20">
Type: <select size="1" name="CC_Type">
<option>Master Card</option>
<option>Visa</option>
<option>Discover</option>
<option>AMEX</option>
</select> Exp.Code: <input type="text" name="CC_Exp" size="10">
Code: <input type="text" name="CC_Code" size="4"></font></p>
<input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2">
</fieldset>
</td>
</tr>
</table>
</form>
</body>
</html>