[thelist] strange behavior with form field

Glenn Hunt ghunt at hds.ca
Wed Oct 3 16:20:28 CDT 2001


I think it should be:

<option value="ST" selected="selected">St</option>

Glenn Hunt
ghunt at hds.ca

> -----Original Message-----
> From: thelist-admin at lists.evolt.org 
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of David Prowak
> Sent: Wednesday, October 03, 2001 4:56 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] strange behavior with form field
> 
> 
> 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
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to: 
http://lists.evolt.org Workers of the Web, evolt ! 






More information about the thelist mailing list