Form Response Variable.

The problem could be additional tags around the STATUS=200 so that what the variable gets is something other than just "STATUS=200".I would try either doing a change contents on another page to see exactly what the variable is getting ... or add an alert of the variable's value.For the test condition ... I typically hesitate using exact comparisons because you can run into leading/trailing space issues ... I prefer contains searches so that spaces aren't an issue (not to mention you can check for things like contains "=200" which will handle mult-line responses and case-sensitivity issues.Tim V

Discussion (2)

I need some help with the form response variable. I am submitting my form to an ASP script. The ASP script writes the information to a database, and then runs "response.write("STATUS=200")". The form variable is received and I can read it on the next page. It shows up as "STATUS=200", but when I try to use the variable in a condition, the condition is never true. The condition I am using is, if the variable is equal to STATUS=200 then display a message box. Is there an example somewhere of how to use the form response variables? or am I doing something wrong? Thanks for your help.

Thank you for your help. I will try the contains searches. Hopefully that will provide better results. Thanks again.Thank you for your help. I will try the contains searches. Hopefully that will provide better results. Thanks again.

Discussions have been disabled for this post