|
-
Mar 29th, 2001, 04:07 PM
#1
Thread Starter
Hyperactive Member
Hi all -
I am trying to pass data between forms. But the line of code:
Code:
<input type="hidden" name="facility" value=<%=request.form("cmbFacility")%>>
only submits the value of cmbFacility up to the first space (the rest is truncated).
Why?!?
-
Mar 29th, 2001, 04:23 PM
#2
Lively Member
try using
code:--------------------------------------------------------------------------------
<input type="hidden" name="facility" value=<%=request.item("cmbFacility")%>>
--------------------------------------------------------------------------------
-
Mar 29th, 2001, 04:32 PM
#3
Thread Starter
Hyperactive Member
Nope, that did the same thing. What could the problem be, before I pull out all of my hair??
-
Mar 29th, 2001, 04:39 PM
#4
Lively Member
cmbFacility is it a textarea???
Sonia
-
Mar 29th, 2001, 06:10 PM
#5
Addicted Member
Originally posted by DrewDog_21
Hi all -
I am trying to pass data between forms. But the line of code:
Code:
<input type="hidden" name="facility" value=<%=request.form("cmbFacility")%>>
only submits the value of cmbFacility up to the first space (the rest is truncated).
Why?!?
should be
Code:
<input type="hidden" name="facility" value="<%=request.form("cmbFacility")%>">
-
Mar 30th, 2001, 09:10 AM
#6
Thread Starter
Hyperactive Member
cmbFacility is a Select box, and putting quotes around the value like Active suggested worked. Thanks!!
-
Apr 3rd, 2001, 05:49 AM
#7
New Member
before you send data to other page use this coding.
this is must for every data if it contains any special characters
<% username = server.urlencode(" hai hello ")%>
<a href="nextpage.asp?username=<%=username%>">next</a>
hope you will fine this bye..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|