bizarre netscape form problem

by "Daniel Katz" <dan(at)silverpeakdesigns.com>

 Date:  Tue, 28 Nov 2000 12:24:42 -0700
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Hi folks, I'm driving myself nuts trying to figure out why my "submit"
button won't show up in netscape 4.x, but shows fine in ie. Any help would
be much appreciated:

https://www.simwell.com/secure/train/traindan/resform.asp

Here's the code for the page:

<%@LANGUAGE="VBSCRIPT"%> <%
tripdate=CStr(Request.Form("TripDate"))
triptime=CStr(Request.Form("departure"))
%>
<html>
<head>
<title>D&amp;SNGR Secure Online Reservations</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<body bgcolor="993300" text="ffffff" link="ffff00" vlink="ffff00"
alink="ff9900" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top"><img src="Images/logonew1.jpg" width="102" height="119"
border="0" alt="Durango &amp; Silverton Narrow Gauge Railroad"></td>
    <td align="center" valign="top" width="100%">
      <table border="0" cellpadding="0" cellspacing="0" width="658">
        <!-- fwtable fwsrc="dsngrtop-test1.png"
fwbase="dsngrtop-dan.jpg" -->
        <tr> <!-- Shim row, height 1. -->
          <td><img src="Images/shim.gif" width="199" height="1" border="0"
name="undefined_2"></td>
          <td><img src="Images/shim.gif" width="259" height="1" border="0"
name="undefined_2"></td>
          <td><img src="Images/shim.gif" width="200" height="1" border="0"
name="undefined_2"></td>
          <td><img src="Images/shim.gif" width="1" height="1" border="0"
name="undefined_2"></td>
        </tr>
        <tr valign="top"><!-- row 1 -->
          <td><img name="dsngrtopdan_r1_c1"
src="Images/dsngrtop-dan_r1_c1.jpg" width="199" height="119"
border="0"></td>
          <td><img name="dsngrtopdan_r1_c2"
src="Images/dsngrtop-dan_r1_c2.gif" width="259" height="119"
border="0"></td>
          <td><img name="dsngrtopdan_r1_c3"
src="Images/dsngrtop-dan_r1_c3.jpg" width="200" height="119"
border="0"></td>
          <td><img src="Images/shim.gif" width="1" height="119" border="0"
name="undefined_2"></td>
        </tr>
        <!--   This table was automatically created with Macromedia
Fireworks 3.0   -->
        <!--   http://www.macromedia.com   -->
      </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="50">&nbsp;</td>
    <td colspan="2">
      <p align="left">&nbsp;</p>
    </td>
    <td width="50">&nbsp;</td>
  </tr>
  <tr>
    <td width="50">&nbsp;</td>
    <td colspan="2" align="left">
      <p align="left"><b><font face="Verdana, Arial, Helvetica, sans-serif"
size="+2">D&amp;SNGR
        Secure Online Reservations</font></b><br>
        <font face="Verdana, Arial, Helvetica, sans-serif" size="+1">Step
4</font></p>
      <p align="left"><font face="Georgia, Times New Roman, Times,
serif"><b><font color="ff9900">Please
        fill out the following:</font></b></font></p>
      <form name="resform" method="post" action="resconfirm.asp">
        <table width="100%" border="0" cellspacing="10" cellpadding="0"
align="left">
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">First
              Name:</font></td>
            <td align="left">
              <input type="text" name="FirstName" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Last
              Name:</font></td>
            <td align="left">
              <input type="text" name="LastName" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Address:</font></td>
            <td align="left">
              <input type="text" name="Address" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Address2:</font></td>
            <td align="left">
              <input type="text" name="Address2" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">City:</font></td>
            <td align="left">
              <input type="text" name="City" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">State:</font></td>
            <td align="left">
              <select name="State">
                <option value="" SELECTED>Choose
                a State
                <option value="UNK">Outside
                US / Canada
                <option value="AL">Alabama
                <option value="AK">Alaska
                <option value="AB">Alberta
                <option value="AS">American
                Samoa
                <option value="AZ">Arizona
                <option value="AR">Arkansas
                <option value="AA">Armed
                Forces Americas
                <option value="AE">Armed
                Forces Europe
                <option value="AP">Armed
                Forces Pacific
                <option value="BC">British
                Columbia
                <option value="CA">California
                <option value="CO">Colorado
                <option value="CT">Connecticut
                <option value="DE">Delaware
                <option value="DC">District
                Of Columbia
                <option value="FL">Florida
                <option value="GA">Georgia
                <option value="GU">Guam
                <option value="HI">Hawaii
                <option value="ID">Idaho
                <option value="IL">Illinois
                <option value="IN">Indiana
                <option value="IA">Iowa
                <option value="KS">Kansas
                <option value="KY">Kentucky
                <option value="LA">Louisiana
                <option value="ME">Maine
                <option value="MB">Manitoba
                <option value="MD">Maryland
                <option value="MA">Massachusetts
                <option value="MI">Michigan
                <option value="MN">Minnesota
                <option value="MS">Mississippi
                <option value="MO">Missouri
                <option value="MT">Montana
                <option value="NE">Nebraska
                <option value="NV">Nevada
                <option value="NB">New
                Brunswick
                <option value="NH">New
                Hampshire
                <option value="NJ">New
                Jersey
                <option value="NM">New
                Mexico
                <option value="NY">New
                York
                <option value="NF">Newfoundland
                <option value="NC">North
                Carolina
                <option value="ND">North
                Dakota
                <option value="MP">Northern
                Mariana Is
                <option value="NT">Northwest
                Territories
                <option value="NS">Nova
                Scotia
                <option value="OH">Ohio
                <option value="OK">Oklahoma
                <option value="ON">Ontario
                <option value="OR">Oregon
                <option value="PW">Palau
                <option value="PA">Pennsylvania
                <option value="PE">Prince
                Edward Island
                <option value="PQ">Province
                du Quebec
                <option value="PR">Puerto
                Rico
                <option value="RI">Rhode
                Island
                <option value="SK">Saskatchewan
                <option value="SC">South
                Carolina
                <option value="SD">South
                Dakota
                <option value="TN">Tennessee
                <option value="TX">Texas
                <option value="UT">Utah
                <option value="VT">Vermont
                <option value="VI">Virgin
                Islands
                <option value="VA">Virginia
                <option value="WA">Washington
                <option value="WV">West
                Virginia
                <option value="WI">Wisconsin
                <option value="WY">Wyoming
                <option value="YT">Yukon
                Territory
              </select>
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Zip
              Code:</font></td>
            <td align="left">
              <input type="text" name="Zip" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Country:</font></td>
            <td align="left">
              <select name="Country">
                <option SELECTED value="">Choose
                a Country
                <option value="USA">United
                States of America
                <option value="CAN">Canada
                <option value="DEU">Germany
                <option value="FRA">France
                <option value="GBR">United
                Kingdom
                <option value="IND">India
                <option value="">---------------------
                <option value="AFG">Afghanistan
                <option value="ALB">Albania
                <option value="DZA">Algeria
                <option value="ASM">American
                Samoa
                <option value="AND">Andorra
                <option value="AGO">Angola
                <option value="AIA">Anguilla
                <option value="ATA">Antarctica
                <option value="ATG">Antigua
                and Barbuda
                <option value="ARG">Argentina
                <option value="ARM">Armenia
                <option value="ABW">Aruba
                <option value="AUS">Australia
                <option value="AUT">Austria
                <option value="AZE">Azerbaijan
                <option value="BHS">Bahamas
                <option value="BHR">Bahrain
                <option value="BGD">Bangladesh
                <option value="BRB">Barbados
                <option value="BLR">Belarus
                <option value="BEL">Belgium
                <option value="BLZ">Belize
                <option value="BEN">Benin
                <option value="BMU">Bermuda
                <option value="BTN">Bhutan
                <option value="BOL">Bolivia
                <option value="BIH">Bosnia
                and Herzegowina
                <option value="BWA">Botswana
                <option value="BVT">Bouvet
                Island
                <option value="BRA">Brazil
                <option value="IOT">British
                Indian Ocean Territory
                <option value="BRN">Brunei
                Darussalam
                <option value="BGR">Bulgaria
                <option value="BFA">Burkina
                Faso
                <option value="BDI">Burundi
                <option value="KHM">Cambodia
                <option value="CMR">Cameroon
                <option value="CPV">Cape
                Verde
                <option value="CYM">Cayman
                Islands
                <option value="CAF">Central
                African Republic
                <option value="TCD">Chad
                <option value="CHL">Chile
                <option value="CHN">China
                <option value="CXR">Christmas
                Island
                <option value="CCK">Cocoa
                (Keeling) Islands
                <option value="COL">Colombia
                <option value="COM">Comoros
                <option value="COG">Congo
                <option value="COK">Cook
                Islands
                <option value="CRI">Costa
                Rica
                <option value="CIV">Cote
                Divoire
                <option value="HRV">Croatia
                (local name: Hrvatska)
                <option value="CUB">Cuba
                <option value="CYP">Cyprus
                <option value="CZE">Czech
                Republic
                <option value="DNK">Denmark
                <option value="DJI">Djibouti
                <option value="DMA">Dominica
                <option value="DOM">Dominican
                Republic
                <option value="TMP">East
                Timor
                <option value="ECU">Ecuador
                <option value="EGY">Egypt
                <option value="SLV">El
                Salvador
                <option value="GNQ">Equatorial
                Guinea
                <option value="ERI">Eritrea
                <option value="EST">Estonia
                <option value="ETH">Ethiopia
                <option value="FLK">Falkland
                Islands (Malvinas)
                <option value="FRO">Faroe
                Islands
                <option value="FJI">Fiji
                <option value="FIN">Finland
                <option value="FXX">France,
                Metropolitan
                <option value="GUF">French
                Guiana
                <option value="PYF">French
                Polynesia
                <option value="ATF">French
                Southern Territories
                <option value="GAB">Gabon
                <option value="GMB">Gambia
                <option value="GEO">Georgia
                <option value="GHA">Ghana
                <option value="GIB">Gibraltar
                <option value="GRC">Greece
                <option value="GRL">Greenland
                <option value="GRD">Grenada
                <option value="GLP">>Guadeloupe
                <option value="GUM">Guam
                <option value="GTM">Guatemala
                <option value="GIN">Guinea
                <option value="GNB">Guinea-Bissau
                <option value="GUY">Guyana
                <option value="HTI">Haiti
                <option value="HMD">Heard
                and Mc Donald Islands
                <option value="HND">Honduras
                <option value="HKG">Hong
                Kong
                <option value="HUN">Hungary
                <option value="ISL">Iceland
                <option value="IDN">Indonesia
                <option value="IRN">Iran
                (Islamic Republic of)
                <option value="IRQ">Iraq
                <option value="IRL">Ireland
                <option value="ISR">Israel
                <option value="ITA">Italy
                <option value="JAM">Jamaica
                <option value="JPN">Japan
                <option value="JOR">Jordan
                <option value="KAZ">Kazakhstan
                <option value="KEN">Kenya
                <option value="KIR">Kiribati
                <option value="PRK">Korea,
                Democratic Peoples Republic of
                <option value="KOR">Korea,
                Republic of
                <option value="KWT">Kuwait
                <option value="KGZ">Kyrgyzstan
                <option value="LAO">Lao
                Peoples Democratic Republic
                <option value="LVA">Latvia
                <option value="LBN">Lebanon
                <option value="LSO">Lesotho
                <option value="LBR">Liberia
                <option value="LBY">Libyan
                Arab Jamahiriya
                <option value="LIE">Liechtenstein
                <option value="LTU">Lithuania
                <option value="LUX">Luxembourg
                <option value="MAC">Macau
                <option value="MKD">Macedonia,
                The Former Yugoslav Republic of
                <option value="MDG">Madagascar
                <option value="MWI">Malawi
                <option value="MYS">Malaysia
                <option value="MDV">Maldives
                <option value="MLI">Mali
                <option value="MLT">Malta
                <option value="MHL">Marshall
                Islands
                <option value="MTQ">Martinique
                <option value="MRT">Mauritania
                <option value="MVS">Mauritius
                <option value="MYT">Mayotte
                <option value="MEX">Mexico
                <option value="FSM">Micronesia,
                Federated States of
                <option value="MDA">Moldova,
                Republic of
                <option value="MCO">Monaco
                <option value="MNG">Mongolia
                <option value="MSR">Montserrat
                <option value="MAR">Morocco
                <option value="MOZ">Mozambique
                <option value="MMR">Myanmar
                <option value="NAM">Namibia
                <option value="NRU">Nauru
                <option value="NPL">Nepal
                <option value="NLD">Netherlands
                <option value="ANT">Netherlands
                Antilles
                <option value="NCL">New
                Caledonia
                <option value="NZL">New
                Zealand
                <option value="NIC">Nicaragua
                <option value="NER">Niger
                <option value="NGA">Nigeria
                <option value="NIU">Niue
                <option value="NFK">Norfolk
                Island
                <option value="MNP">Northern
                Mariana Islands
                <option value="MOR">Norway
                <option value="OMN">Oman
                <option value="PAK">Pakistan
                <option value="PLW">Palau
                <option value="PAN">Panama
                <option value="PNG">Papua
                New Guinea
                <option value="PRY">Paraguay
                <option value="PER">Peru
                <option value="PHL">Philippines
                <option value="PCN">Pitcairn
                <option value="POL">Poland
                <option value="PRT">Portugal
                <option value="PRI">Puerto
                Rico
                <option value="QAT">Qatar
                <option value="REU">Reunion
                <option value="ROM">Romania
                <option value="RUS">Russian
                Federation
                <option value="RWA">Rwanda
                <option value="KNA">Saint
                Kitts and Nevis
                <option value="LCA">Saint
                Lucia
                <option value="VCT">Saint
                Vincent and the Grenadines
                <option value="WSM">Samoa
                <option value="SMR">San
                Marino
                <option value="STP">Sao
                Tome and Principe
                <option value="SAU">Saudi
                Arabia
                <option value="SEN">Senegal
                <option value="SYC">Seychelles
                <option value="SLE">Sierra
                Leone
                <option value="SGP">Singapore
                <option value="SVK">Slovakia
                (Slovak Republic)
                <option value="SVN">Slovenia
                <option value="SLB">Solomon
                Islands
                <option value="SOM">Somalia
                <option value="ZAF">South
                Africa
                <option value="SGS">South
                Georgia and the South Sandwich Islands
                <option value="ESP">Spain
                <option value="LKA">Sri
                Lanka
                <option value="SHN">St.
                Helena
                <option value="SPM">St.
                Pierre and Miquelon
                <option value="SDN">Sudan
                <option value="SUR">Suriname
                <option value="SJM">Svalbard
                and Jan Mayen Islands
                <option value="SWZ">Swaziland
                <option value="SWE">Sweden
                <option value="CHE">Switzerland
                <option value="SYR">Syrian
                Arab Republic
                <option value="TWN">Taiwan
                <option value="TJK">Tajikistan
                <option value="TZA">Tanzania,
                United Republic of
                <option value="THA">Thailand
                <option value="TGO">Togo
                <option value="TKL">Tokelau
                <option value="TON">Tonga
                <option value="TTO">Trinidad
                and Tobago
                <option value="TUN">Tunisia
                <option value="TUR">Turkey
                <option value="TKM">Turkmenistan
                <option value="TCA">Turks
                and Caicos Islands
                <option value="TUV">Tuvalu
                <option value="UGA">Uganda
                <option value="UKR">Ukraine
                <option value="ARE">United
                Arab Emirates
                <option value="UMI">United
                States Minor Outlying Islands
                <option value="URY">Uruguay
                <option value="UZB">Uzbekistan
                <option value="VUT">Vanuatu
                <option value="VAT">Vatican
                City State (Holy See)
                <option value="VEN">Venezuela
                <option value="VNM">Viet
                Nam
                <option value="VGB">Virgin
                Islands (British)
                <option value="VIR">Virgin
                Islands (U.S.)
                <option value="WLF">Wallisw
                and Futuna Islands
                <option value="ESH">Western
                Sahara
                <option value="YEM">Yeman
                <option value="YUG">Yugoslavia
                <option value="ZAR">Zaire
                <option value="ZMB">Zambia
                <option value="ZWE">Zimbabwe
                <option value="UNK">Not
                Listed
              </select>
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Phone:</font></td>
            <td align="left">
              <input type="text" name="Phone" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Email:</font></td>
            <td align="left">
              <input type="text" name="Email" size="30">
            </td>
          </tr>
          <tr align="center">
            <td colspan="2" align="left">
              <hr>
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Trip
              Date:</font></td>
            <td align="left">
              <input type="hidden" name="TripDate" size="30" value="<%
=tripdate %>"><font face="Georgia, Times New Roman, Times, serif"><%
=tripdate %></font>
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Departure
              Time:</font></td>
            <td align="left">
              <input type="hidden" name="TripTime" size="30" value="<%
=triptime %>"><font face="Georgia, Times New Roman, Times, serif"><%
=triptime %></font>
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Number
              of Adults:</font></td>
            <td align="left">
              <input type="text" value="0" name="NumberAdults" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Number
              of Children ages 5-11:</font></td>
            <td align="left">
              <input type="text" value="0" name="NumberChildren" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Seating
              Preference:<BR>
              <font size="2" color="ff9900"><b>(Parlor Car available on the
9
              AM summer train and all winter trains - ages 21 and over
only)<br><a href="seatingoptions.htm" target="_blank">Click here to view the
various seating options</a></b></font></font></td>
            <td align="left"> <% If triptime = "9:00 AM" Then %>
              <select name="SeatingPref">
                <option value="Regular Inside Car" selected>Regular
                Inside Car</option>
                <option value="Outside Gondola Car">Outside
                Gondola Car</option>
                <option value="First-Class Parlor Car">First-Class
                Parlor Car</option>
              </select>
              <% Else %>
              <% If triptime = "10:00 AM" Then %>
              <select name="SeatingPref">
                <option value="Regular Inside Car" selected>Regular
                Inside Car</option>
                <option value="First-Class Parlor Car">First-Class
                Parlor Car</option>
              </select>
              <% Else %>
              <select name="SeatingPref">
                <option value="Regular Inside Car" selected>Regular
                Inside Car</option>
                <option value="Outside Gondola Car">Outside
                Gondola Car</option>
              </select>
              <% End If %>
              <% End If %>
            </td>
          </tr>

<% If cDate(Request.Form("TripDate")) <= cDate(#10/27/01#) AND
cDate(Request.Form("TripDate")) >= cDate(#05/05/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#08/20/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#08/21/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#08/22/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#08/27/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#08/28/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#08/29/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#09/03/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#09/04/01#) AND
cDate(Request.Form("TripDate")) <> cDate(#09/05/01#) Then %>

<tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Train/Bus
              Tour:</font></td>
            <td align="left">
              <select name="Bus">
                <option value="Yes">Yes</option>
                <option value="No" selected>No</option>
              </select>
            </td>
          </tr>

<% End If %>
          <tr>
            <td align="left" valign="top" width="250"><font face="Georgia,
Times New Roman, Times, serif">Mail
              Tickets or Pick Up at Window?<br>
              <font size="2"><b><font color="ff9900">(Tickets will
automatically
              be held at the window if less than 21 days prior to train
trip.)</font></b></font></font></td>
            <td align="left" valign="top">
              <select name="sendtix">
                <option value="mail tickets">Mail me the tickets</option>
                <option value="pick up tickets" selected>I'll pick up the
tickets</option>
              </select>
            </td>
          </tr>
          <tr>
            <td align="left" valign="top" width="250"><font face="Georgia,
Times New Roman, Times, serif">Other
              Comments:</font></td>
            <td align="left" valign="top">
              <textarea name="Comments" cols="30" rows="10"></textarea>
            </td>
          </tr>
          <tr align="center">
            <td colspan="2" align="left">
              <hr>
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Credit
              Card Type:</font></td>
            <td align="left">
              <select name="CardType">
                <option selected value="VISA">Visa
                </option>
    <option value="MASTER">MasterCard
                </option>
                <option value="AMEX">American
                Express </option>
                <option value="DINERS">Diners
                Club </option>
                <option value="DISCOVER">Discover
                </option>
              </select>
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Credit
              Card Number<br>
              <font color="ff9900"><b>(no spaces or
dashes)</b></font>:</font></td>
            <td align="left">
              <input type="text" name="CardNumber" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250"><font face="Georgia, Times New
Roman, Times, serif">Expiration
              Date (mm/yy):</font></td>
            <td align="left">
              <input type="text" name="ExpDate" size="30">
            </td>
          </tr>
          <tr>
            <td align="left" width="250">
              <input type="hidden" name="ResDate" value="<% =Date %>">
              <input type="hidden" name="Subject" value="DSNGR Reservation
Request">
            </td>
            <td align="left"><input type="submit" name="Reserve"
value="Submit the Reservation"></td>
          </tr>
        </table>
      </form>
    </td>
    <td width="50">&nbsp;</td>
  </tr>
</table>
</body>
</html>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA