Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Form Value On Same Page

Status
Not open for further replies.

PenguinHead

Programmer
Jan 5, 2007
18
US
I have a form on a page. On the same page I have a function that needs the value from that form.

Is it possible to have that value passed or stored into a variable without going on to another processing page?
 
Make the action on the form = to the name of the page that the form is on, it will submit to itself.

In a file named test.asp:

Code:
<form method="post" [!]action="test.asp"[/!]>
 ..
...
...
</form>

[small]"Mom........MEATLOAF!!!! DANG!!!![/small]
<.
 
No prob Mr. PenguinHead

[small]"Mom........MEATLOAF!!!! DANG!!!![/small]
<.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top