Hi all -
I am trying to pass data between forms. But the line of code:
only submits the value of cmbFacility up to the first space (the rest is truncated).Code:<input type="hidden" name="facility" value=<%=request.form("cmbFacility")%>>
Why?!?
Printable View
Hi all -
I am trying to pass data between forms. But the line of code:
only submits the value of cmbFacility up to the first space (the rest is truncated).Code:<input type="hidden" name="facility" value=<%=request.form("cmbFacility")%>>
Why?!?
try using
code:--------------------------------------------------------------------------------
<input type="hidden" name="facility" value=<%=request.item("cmbFacility")%>>
--------------------------------------------------------------------------------
Nope, that did the same thing. What could the problem be, before I pull out all of my hair??
cmbFacility is it a textarea???
Sonia
should beQuote:
Originally posted by DrewDog_21
Hi all -
I am trying to pass data between forms. But the line of code:
only submits the value of cmbFacility up to the first space (the rest is truncated).Code:<input type="hidden" name="facility" value=<%=request.form("cmbFacility")%>>
Why?!?
Code:<input type="hidden" name="facility" value="<%=request.form("cmbFacility")%>">
cmbFacility is a Select box, and putting quotes around the value like Active suggested worked. Thanks!!
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..