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

A form with method="get" problem 1

Status
Not open for further replies.

JetRamsey

Technical User
Oct 22, 2010
49
US
I have an ASP that using this line to pass on the parameters:

<form action="DESC.asp?" method="GET" name="parmform">

When using this form, the following output will occur:


Since I want to pass on the input of this form to a Reportal Server, I need to add id=103 after the question mark after DESC.asp. Unfortunately, the id=103 is ignored when I use this:

<form action="DESC.asp?id=103" method="GET" name="parmform">

I thought I would just add id=103 as a parameter, but the = character gets converted to the web language of the equals sign.

Is there a way to still pass on the id=103 after the "DESC.asp?
 
The next line after your form tag should be this:

Code:
<input type = "hidden" value = "103" name = "id">

You will not see the hidden form element on the page but it will be use when you click the submit button.

-George
Microsoft SQL Server MVP
My Blogs
SQLCop
twitter
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top