peterr
Posts: 5971
|
| Posted: 04/26/2005, 1:07 PM |
|
Web browsers submit only one value for each listbox, so if you need to use the Id/Number then you cannot use the description. However, you can create the same list of values in ASP, so that if a number is submitted then you can lookup the corresponding text value.
For example: If some_id = 1 Then description = "ABC".
Or for longer lists create a small array, like:
Dim a
a = Array("ABC", "DEF", "GHI")
description = a(FormName.ListboxName.Value)
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |