If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
<%
if MY CONDITIONS then request.form("select1")=""
here i simply want to check posted variable request.form("select1")
if this var doesnt match to my conditions then i must to setup request.form("select1") variable to NULL
because second select component works when request.form("select1") is not empty
%>
when i was used php, in php i can do this things, but how can i assign value to request.form collection variable using ASP ????
the values in the forms collects are read only. you can request what is submitted and but you can not change the value.
the correct method of doing what you are trying to do is as suggested.
request the value once and apply it to a variable, from then on whenever you want to reference that form value you use the variable which is read/write.
this will also improve your performance as you don't need to go through the request object to find the values for things every time you want to perform a check or calculation.