D
Drifter
I am generating a list with checkboxes from a database:
Response.Write (" <FORM METHOD='POST' ACTION='listpage.asp?Verified=True'
NAME = 'Subscriptor' onsubmit=""return
howManyChecked('Subscriptor','ITitle'',9,9,'Inservice');"">")
<Input Type='CheckBox' Name='ITitle' Value=" & rsData("Name") & ">...
<% 'Response.Write Request.Form("ITitle") %>
I have some code that verifies if 5 titles are checked (howManyChecked),
then I send this list of 5 titles to the next area. Problem is I am asking
for the "Name" from the database, and the name contains spaces. When I go to
generate the list on the next area I get only the first Word, if there is a
space in the "Name" the collection takes this as the end of the Name data,
and goes onto the next Name, taking only the first word again.
I can get around the issue by changing it to the ID being transferred in the
ITitle, and then calling database to collect the data (Name) again. This
seems an unnecessary step. Any ideas how I can drop the problem of losing
data after the spaces?
D
Response.Write (" <FORM METHOD='POST' ACTION='listpage.asp?Verified=True'
NAME = 'Subscriptor' onsubmit=""return
howManyChecked('Subscriptor','ITitle'',9,9,'Inservice');"">")
<Input Type='CheckBox' Name='ITitle' Value=" & rsData("Name") & ">...
<% 'Response.Write Request.Form("ITitle") %>
I have some code that verifies if 5 titles are checked (howManyChecked),
then I send this list of 5 titles to the next area. Problem is I am asking
for the "Name" from the database, and the name contains spaces. When I go to
generate the list on the next area I get only the first Word, if there is a
space in the "Name" the collection takes this as the end of the Name data,
and goes onto the next Name, taking only the first word again.
I can get around the issue by changing it to the ID being transferred in the
ITitle, and then calling database to collect the data (Name) again. This
seems an unnecessary step. Any ideas how I can drop the problem of losing
data after the spaces?
D