B
Brian
I replaced my submit buttons with image buttons on my forms.. I need to
display the results of the fields that were entered. On my test
server, it works great, but on my live server, I am seeing Button1.x
and Button1.y. Here is my code. Can someone tell me why i can't stop
them from showing on the live server?? TIA
------------------------------------------------------------
Dim answer As String
Dim AnsStr
For Each answer In Request.Form
'references to answer return the name of the item
If (answer = "__VIEWSTATE") Or (answer = "Button1.x") Or
(answer = "Button1.y") Then
Else
'If (Request.Form(answer) <> "") Then
AnsStr = AnsStr & answer & " <br> "
'End If
End If
Next
Session("answers") = AnsStr
MessageSent.Text = "the answer is " & AnsStr
---------------------------------------------------------
display the results of the fields that were entered. On my test
server, it works great, but on my live server, I am seeing Button1.x
and Button1.y. Here is my code. Can someone tell me why i can't stop
them from showing on the live server?? TIA
------------------------------------------------------------
Dim answer As String
Dim AnsStr
For Each answer In Request.Form
'references to answer return the name of the item
If (answer = "__VIEWSTATE") Or (answer = "Button1.x") Or
(answer = "Button1.y") Then
Else
'If (Request.Form(answer) <> "") Then
AnsStr = AnsStr & answer & " <br> "
'End If
End If
Next
Session("answers") = AnsStr
MessageSent.Text = "the answer is " & AnsStr
---------------------------------------------------------