Ok, This may sound like a noob question, but I have an application, that
asks the user to fill in fields from a pre-generated list of
possibilities. And upon clicking submit, the user is re-directed to a
page based off of their inputs into those fields.
Some of the code is
<form name="SomeForm">
<tr><td colspan="1"><img
src="default.aspx?uid=SomeID&coid=SomeOtherID&pgid =31&key=SomeKey"
alt="wonder if this shows up"><br><input type="textbox" name="SomeName"
value="This is an Answer"></td></tr>
<input type="button" value="Submit"
onclick="window.location.href=('default.aspx?uid=S omeID&coid=SomeID&pgid=32');"></input>
</form>
And once clicked, a new function is called.
But when I do a
Dim req As HttpRequest
sSQL.Append(req.Form("SomeName"))
I get a NullReference exception, as if it doesnt recognize the form, is
it because the Button was allready clicked? Or how can I pull the data
from the textfields, if im not actually posting them anywhere, just
using the Submit as a... 'move forward' in the process.
Thanks in advance for any help someone can offer.