Natalya Kolesnikova wrote:
> how can I give my mser the opportunity to choose between 
> normal search:
> ->Search results for '(test or tested or testing or testings 
> or tester or
> tests or testers)'
> 
> and exact search:
> 
> ->Search results for '(test)
> 
> ??
> I'd tried with
> 
>             <select name="variante" size="1">
>             <option value=>Normal
>             <option value="_exakt">Exakt
>             </select>
> 
> But it doesn't work!!!

The name you give to the select field must be the attribute name that
you intend to set through it, in this case "search_algorithm".
The option value must be the attribute's value for this case.
So:

<select name="search_algorithm">
<option value="exact:1 endings:0.5">Fuzzy
<option value="exact:1">Exact
</select>

You also need the "allow_in_form" attribute to include "search_algorithm";
see http://www.htdig.org/attrs.html#allow_in_form for the very answer
to your question in form of an example.

cu,
  Martin
-- 
  OpenVMS DCL        | Martin Vorlaender  |  VMS & WNT programmer
                     | work: [EMAIL PROTECTED]
  The Original .COM  |   http://www.pdv-systeme.de/users/martinv/
                     | home: [EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to