D
Davey
I am using ASP to generate some forms based on DB queries from Access.
However, when I encounter a value that contains a space as when this value
is posted to a second form it only contains the text string up to the first
space.....
Code is as below:
Initial form: This generates a list of items returned from the access query
and assigns a radio button to each with a value equal to its name
(objRS("Main_Product")
<%
Response.Write "<INPUT TYPE=RADIO VALUE=" & vbquote & objRS("Main_Product")
& vbquote & " NAME=" & vbquote & "PRODUCT_TYPE" & vbquote & ">" &
" " & objRS("Main_Product") & "<BR>"
%>
After submitting the form the next page's code looks like this:
<%
dim strValue
set strValue = Request.Form("PRODUCT_TYPE")
Response.Write strValue
%>
This seems to work fine except when a value like "Fish Fingers" is selected.
This only returns "Fish" ?????
Can anyone offer some advice ?
Cheers
Davey
However, when I encounter a value that contains a space as when this value
is posted to a second form it only contains the text string up to the first
space.....
Code is as below:
Initial form: This generates a list of items returned from the access query
and assigns a radio button to each with a value equal to its name
(objRS("Main_Product")
<%
Response.Write "<INPUT TYPE=RADIO VALUE=" & vbquote & objRS("Main_Product")
& vbquote & " NAME=" & vbquote & "PRODUCT_TYPE" & vbquote & ">" &
" " & objRS("Main_Product") & "<BR>"
%>
After submitting the form the next page's code looks like this:
<%
dim strValue
set strValue = Request.Form("PRODUCT_TYPE")
Response.Write strValue
%>
This seems to work fine except when a value like "Fish Fingers" is selected.
This only returns "Fish" ?????
Can anyone offer some advice ?
Cheers
Davey