From | John Lubotsky |
Date | Wed, 11 May 2005 13:31:19 -0700 |
Subject | [greenstone-users] re: How to create a search form using <select>? |
Please forgive the repost: about 8 weeks ago i dropped this
project for a long vacation, and i've come back to find all the emails
from this list gone. However, that said, i recall that Michael
Dewsnip's very informative answer was not sufficient, and that i'd
like to know specifically which files to edit, and if there's a guide
to the syntax.
Best,
John
I'm a Greenstone newbie, designing a collection on OS X using v 2.52. We want to enable users to choose a search string from a pulldown menu (a <SELECT> tag), drawing the <OPTION> values ideally from a metadata field, or else staticly embedded in the code. Some example HTML to illustrate the idea is below. In the below example, the text input would search ex.Title, and the option values would come from foo.Continent. Search for documents containing the words <input type=text size=25> that pertain to <select name=continent> <option value=north_america>North America <option value=south_america>South America <option value=africa>Africa <option value=europe>Europe <option value=asia>Asia <option value=australia>Australia </select> I've searched the documentation but i'm stumped. Is this possible? How do we do it? Thanks and Best, John Lubotsky PS: I'm also interested in more generally being able to use checkboxes, radio buttons, and other form elements. -j- |