[WEB4LIB] Seemingly simple web FORM help request

Jeff Burns jeffb at eauclaire.lib.wi.us
Thu Feb 14 16:05:59 EST 2002


Check this out. Very customizable. I think this is what your looking for.
http://www.noblenet.org/swapshop/snark.htm 

I used a modified version of this script with frames.

Here's more helpful scripts:
http://www.noblenet.org/swapshop/

**********************************************************

>>> "RICHARD EDWARDS" <REDWARDS at statelib.wa.gov> 02/13/02 03:15PM >>>
Greetings,

I am trying to create a web page with a form to search our Innovative Interfaces, Inc. catalog for a special purpose outside their normal search pages and I've gotten very close but can't seem to quite get there.

What I'm trying to do is create a subject search where the patron inputs the first part of the data and the form itself supplies additional data which I need appended to the patron input and then submitted to the III catalog for searching.

The current draft looks like this:

<FORM ACTION="http://cals.evergreen.edu/search~s2/d" method=get>
        <font face="Arial, Helvetica, sans-serif">
        <INPUT align=center maxLength=64 name=SEARCH size=50>
		<INPUT TYPE="hidden" NAME="(WASH) -- Newspapers">
        <INPUT type=submit value=Search>

The resulting action, when added to the user input "Milton" creates the URL:
http://cals.evergreen.edu/search~s2/d?SEARCH=Milton&%28WASH%29+--+Newspapers= 
which unfortunately comes very close but not quite what III's catalog is looking for.

It breaks down at the "&" between the input values. What I need there is a "+" so the URL reads:
http://cals.evergreen.edu/search~s2/d?SEARCH=Milton+%28WASH%29+--+Newspapers= 

That URL works perfectly fine.

Any simple way to achieve this?

joyfully,

Rich Edwards
Innovative Coordinator
Washington State Library
Olympia, WA
redwards at statelib.wa.gov 
(360)704-7136

"You will be surprised to find how much that has seemed hopelessly disagreeable possesses either an instructive or an amusing side." Ella Wheeler Wilcox in "The Heart of the New Thought" 1902.






More information about the Web4lib mailing list