How to input static value

Peter Murray PMurray at law.uconn.edu
Wed Aug 21 21:16:36 EDT 2002


--On Wednesday, August 21, 2002 1:35 PM -0700 Mike Mitchell 
<mitchmd at lithgow.lib.me.us> wrote:
> In order to limit the search to the specific material type I have to
> append a *p to the user's search term which yields a line like
> /search~S20/X?searchtype=t&searcharg=lithgow*p
[...]
> I'm sure this is a simple task but I haven't found the answer yet
> today. Any help out there? Is their something like <INPUT type=hidden
> name=searcharg appendvalue="*p">

There isn't anything in HTML that is going to help you.  (There is no 
such thing as "appendvalue").  It can be done with JavaScript 
("onSubmit"  attribute of the <FORM> tag is a likely candidate) or a 
server-based CGI (have the CGI read form data, put together a complete 
URL, and send a redirect back to the browser with the complete URL). 
Probably it would be best to do both to accomodate those of us who 
choose to navigate the web without JavaScript turned on.


Peter
--
Peter Murray, Computer Services Librarian              W: 860-570-5233
University of Connecticut Law School             Hartford, Connecticut




More information about the Web4lib mailing list