Well, let me start by saying that the dropdown values are loaded
from a SQL database. all the values are sentences. not of a single
word. This is my code:
<select id="cmbCenter" name="cmbCenter" class="style4" style="WIDTH:
235px">
<%Set cnn = server.CreateObject("ADODB.Connection") %>
<%cnn.Open DSN%>
<%set rs1 = server.CreateObject("ADODB.recordset")%>
<%rs1.Open SQL1, cnn%>
<option selected>Select a DOH Center</option>
<%do while not rs1.eof%>
<option value=<%=rs1("CenterDescription")%> ><%
=rs1"CenterDescription") %>
<%rs1.movenext%>
<%loop%>
</select>
Some of the values are for example:
John Doe Medical Center
Willy Smith Hear Research Center
On the receiving page I have:
cmbCenter = request.form("cmbCenter")
response.write ("Center = " & cmbCenter & "<BR>");
To test what is coming across!
if I have selected John Doe Medical Center
I only got across the name "John" and the remaining part of the
entire name is cut off. That is exactly what is happeing!
Can anyone assist me on this?
--- In [email protected], "David Smart"
<[EMAIL PROTECTED]> wrote:
> You'll need to show us the relevant parts of the originating page
and the ASP code involved.
>
> Dave S
>
> ----- Original Message -----
> From: arnniema martinez
> To: [email protected]
> Sent: Friday, September 02, 2005 3:14 AM
> Subject: RE: [ASP] Passing values
>
>
> Thank you. But Sorry, it still does the same! Doesn't work...
>
> Adrian Forbes - ITD <[EMAIL PROTECTED]> wrote:Put quotes around
the VALUE field
>
> <option value="The house is white">
>
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of
arnnie2005
> Sent: 01 September 2005 2:04
> To: [email protected]
> Subject: [ASP] Passing values
>
>
> Hi there, I have a small issue. I have an ASP page that
contains
> several dropdown fields. Each of the dropdown's data consists
of
> sentences. When I select a value on each of the dropdown and I
click
> the submit button, on the receiving ASP page I only get a
section of
> the sentence. For example:
>
> "The house is white"
>
> on the receiving asp page I have:
> coming_in_value = request.form("cbncenter")
> when I check the contents in the variable "coming_in_value" by
writing
> it out:
> response.write coming_in_value & "<BR>"
>
> I only got "The"
>
> Can someone assist me on this?
>
>
>
>
>
>
>
>
> -----------------------------------------------------------------
----
> Home : http://groups.yahoo.com/group/active-server-pages
> -----------------------------------------------------------------
----
> Post : [email protected]
> Subscribe : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> -----------------------------------------------------------------
----
> Yahoo! Groups Links
>
>
>
>
>
>
> The contents of this email and any attachments are sent for the
personal attention
> of the addressee(s) only and may be confidential. If you are
not the intended
> addressee, any use, disclosure or copying of this email and any
attachments is
> unauthorised - please notify the sender by return and delete the
message. Any
> representations or commitments expressed in this email are
subject to contract.
>
> ntl Group Limited
>
>
>
> -----------------------------------------------------------------
----
> Home : http://groups.yahoo.com/group/active-server-pages
> -----------------------------------------------------------------
----
> Post : [email protected]
> Subscribe : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> -----------------------------------------------------------------
----
>
>
>
> SPONSORED LINKS
> Active server page web hosting Active server page hosting Active
server pages Active server page asp Active server page training
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "active-server-pages" on the web.
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
> ---------------------------------
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
> -----------------------------------------------------------------
----
> Home : http://groups.yahoo.com/group/active-server-pages
> -----------------------------------------------------------------
----
> Post : [email protected]
> Subscribe : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> -----------------------------------------------------------------
----
>
>
>
> SPONSORED LINKS Active server page web hosting Active server
page hosting Active server pages
> Active server page asp Active server page training
>
>
> -------------------------------------------------------------------
-----------
> YAHOO! GROUPS LINKS
>
> a.. Visit your group "active-server-pages" on the web.
>
> b.. To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service.
>
>
> -------------------------------------------------------------------
-----------
>
>
>
> [Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/