|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.
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
<option value=north_america>North America
<option value=south_america>South America
I've searched the documentation but i'm stumped. Is this possible? How do we do it?
Thanks and Best,
PS: I'm also interested in more generally being able to use checkboxes, radio buttons, and other form elements. -j-