This is a discussion on "Populate Drop Down" within the Classic ASP section. This forum, and the thread "Populate Drop Down are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Populate Drop Down
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Populate Drop Down
I'm trying to populate a dropdown list with a default selected current year. I was using:
|
|
|
|
#2
|
|||
|
|||
|
Re: Populate Drop Down
I'm not sure why you used
2004="2004" which is false I would just use
|
|
#3
|
|||
|
|||
|
Re: Populate Drop Down
Right, thanks. I wasn't thinking that using Right would make it a string. Silly me.
|
|
#4
|
|||
|
|||
|
Re: Populate Drop Down
That code seems to be working well for me, thanks again. I do have another problem though. I am sending the form to the same page for the action. If there is a problem, like they forgot to enter required information, then the form will be populated with the information that they entered with a note about what to change. I want the drop down to keep the information that they entered. I tried
|
|
#5
|
|||
|
|||
|
Re: Populate Drop Down
it's the same kind of problem. Everything from the request scope is a string so try
|
|
#6
|
|||
|
|||
|
Re: Populate Drop Down
Thanks again. I thought that maybe the variable was being changed to a different type, but I couldn't find anything about that or how to change it.
|
![]() |
| Tags |
| populate, drop, down |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drop down menus drop behind flash header | theGAME71135 | Flash & Multimedia Forum | 3 | Jan 10th, 2008 09:42 |
| Dependant Drop-down Help | phoenix211984 | JavaScript Forum | 1 | Oct 13th, 2006 17:44 |
| Looking for Script to sort table data (& populate database) | toasty | PHP Forum | 1 | Oct 13th, 2006 17:42 |
| drop shadow?? | karloff | Graphics and 3D | 7 | Aug 4th, 2006 14:08 |
| How should I populate the following table. | macupryk | Databases | 1 | Oct 15th, 2003 23:34 |