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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing a form in asp

Status
Not open for further replies.

frogggg

Programmer
Jan 17, 2002
182
US
I have a simple html form contained in an asp page because I need to get info from the database to display the form. However, when I try to submit the form:
<form action=&quot;nextPage.asp&quot; method=post>
some textboxes and listboxes
submit button

it just keeps sending it to the same page. Is it possible to pass a form in asp? If not does anyone have any suggestions of how to get this info from one asp page to the next? Thanks.
 
frogggg,

Info from a form will submit from one ASP page to another. Based on what you put, there is no reason for it to not go to the next page. Can you show more of the code? That will give a better idea of what the problem could be. Your form action looks fine.

E-Z-E
 
<form action=&quot;addJob.asp&quot; method=&quot;get&quot; id=&quot;frmPostJob&quot; name=&quot;frmPostJob&quot;>
Location: DTC listbox
etc.
<INPUT type=&quot;submit&quot; value=&quot;Submit&quot; id=submit1 name=submit1>
</form>

there is a recordset on this page, several of them actually. Also, the textboxes and such are DTCs. The page submits, but to itself, and the URL in the address box in the browser is the same page that called it.
Thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top