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

Encoding problem with get in a form

Status
Not open for further replies.

RoKKos

Programmer
Feb 3, 2003
50
SE
Hi.

Have now tried a cople of h to get this to work.
Code:
<form name="ebrary"  enctype="application/x-[URL unfurl="true"]www-form-urlencoded"[/URL] action="[URL unfurl="true"]http://site.ebrary.com.miman.bib.bth.se/lib/bthbib/Top"[/URL] method="get">
  Search:
  <input type="text" name="?layout=search&nosr=1&frm=smp.x&p00">
  <input type="submit" value="Submit">
</form>
Can I do this without asp or jscript.
 

>> Have now tried a cople of h to get this to work.

Is that like trying a couple of E? Is H a new drug that isn't mainstream yet?

Now... how about telling what your actual problem is? It's hard to help when you're not psychic ;o)

Dan
 
What are you actually trying to do? What do you want people to be able to type in the text box? If you want to have the parameter values hard-coded and sent when the button is pressed, do it like this:
Code:
<form name="ebrary"  enctype="application/x-[URL unfurl="true"]www-form-urlencoded"[/URL] action="[URL unfurl="true"]http://site.ebrary.com.miman.bib.bth.se/lib/bthbib/Top"[/URL] method="get">
  Search:
  <input type="hidden" name="layout" value="search">
  <input type="hidden" name="nosr" value="1">
  <input type="hidden" name="frm" value="smp.x">
  <input type="hidden" name="p00" value="test">
  <input type="submit" value="Submit">
</form>
If you want to be able to enter values for any of those parameters, change the "hidden" input(s) to "text".

-- Chris Hunt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top