ASP

ASP Variables Strings Form Arrays 2D Array Loop IF Cookies Dates Dictionaries SQL Numbers Files JSON Database Regular Expression ExecuteGlobal Recordset ServerVariables Bugs ADO AJAX XML Chilkat
O O

Weather Controls

Time Of Day
Rain
Wind Speed
Wind Direction
Clouds

ASP : Form

2018-01-05

Request

Basics

// GET
request.querystring("fname")

// POST 
request.form("fname")

// Both
request("ria")

Pass To Self

Use submit button. If you change it to button type it doesnt pass its value in form.submit.

If Request("AssignButton") = "Assign" Then
    response.write "Contrats it worked."
    response.end
End If
<form action="?" method="POST" name="form1">
    <input name="AssignButton" type="submit" value="Assign">
</form>