Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Dropdown issue
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

The Omega
New Member

55 Posts

Posted - 19 October 2003 :  01:36:57  Show Profile
I have a db driven drop down box in a form that displays correctly... however when submit it does not include anything after a space...

ie
Display:
Snitz Forums

Input into db:
Snitz

any ideas here...

dayve
Forum Moderator

USA
5820 Posts

Posted - 19 October 2003 :  01:42:44  Show Profile  Visit dayve's Homepage
show us the code...

after reviewing my crystal ball, I would venture to say that you may not be using the <select> tag correctly. does your resemble something like this?

<select name="frmSelect">
<option>Choice 1
<option>Choice 2
</select>

if so, it should look like this:

<select name="frmSelect">
<option value="Choice 1">Choice 1
<option value="Choice 2">Choice 2
</select>

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 19 October 2003 :  10:18:15  Show Profile
it sounds like you are missing the quotes around the value
ie
<option value=Choice 1>Choice 1</option> is wrong
<option value="Choice 1">Choice 1</option> is correct

The UK MkIVs Forum
Go to Top of Page

The Omega
New Member

55 Posts

Posted - 19 October 2003 :  11:04:05  Show Profile
The line was like DriversSelect = DriversSelect & "<OPTION value=" & Driver & ">" & Driver & "</OPTION>"

so DavidRhodes was correct... somehow the double quotes had been removed from the line.... however adding the double quotes back fixed it....
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07