Friday, 9 August 2013

Classic ASP: How to see list of parameters passed from form submission?

Classic ASP: How to see list of parameters passed from form submission?

I'm coming from Rails so I'm a little lost since this is my first time
touching ASP.
I'm working on a legacy ASP app and I have a form in classic ASP and there
are two inputs. How would I view and use the parameters so that I can use
them to update my records? Are they stored in some sort of variable by
default? And do I do this on the page of the form or the page after?
My input:
<input class="textboxsm" type="text" onkeypress="return
numbersonly(window.event.keyCode,1)"
onblur="poswarnings(1);updateTotals();" onfocus="rowfocus=0" value="2"
maxlength="4" size="2" name="ia1" style="text-align:right;">
And this is the button that submits the form:
<input width="116" type="image" height="70"
onmouseout="this.src='art/order_continue.gif'"
onmouseup="this.src='art/order_continue.gif'"
onmousedown="this.src='art/down_order_continue.gif'" onclick="return
orderdone()" name="submitorder" alt="Done" src="art/order_continue.gif">
So how would I extract the value from my input?

No comments:

Post a Comment