[thelist] strange behavior with form field

David Prowak prowak at yahoo.com
Wed Oct 3 15:54:47 CDT 2001


Hi,
I have a select list on a form and have defined a
default value for the list:
<select name="sltStreetSuf">
          <option value="ST" selected>St</option>
          <option value="AV">Ave</option>
          <option value="DR">Dr</option>
          <option value="PL">Pl</option>
          <option value="RD">Rd</option>
          <option value="LA">La</option>
          <option value="TE">Te</option>
          <option value="PA">Pk</option>
</select>
          
Upon submitting the form, everything works fine.
After the form is processed, and they return to the
form, the sltStreetSuf field is blank.
How can a select field be blank when none of the
choices are blank?
Why is the selection field blank when a default
selection is specified (ST)?

How do I fix this behavior?
TIA,
Dave

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1




More information about the thelist mailing list