[Xapian-discuss] For more UI functionality: OmegaScript, C++or other?
James Aylett
james-xapian at tartarus.org
Tue Apr 26 11:08:28 BST 2011
On 26 Apr 2011, at 10:15, Chris wrote:
>> An issue with this implementation is that it only allows specifying a single
>> file type; it would be nice to choose several. Adding MULTIPLE to the
>> SELECT tag uses too much vertical space and CHECKBOXes only give on/off
>> values. Hmm ...
> Checkboxes support a value attribute, something like
>
> <input type="checkbox" name="B" value="Edoc" /> doc
> <input type="checkbox" name="B" value="Edocx" /> docx
>
> allows searching for multiple types.
I'd recommend using SELECT MULTIPLE and then if you don't like the layout, use Javascript to turn it into something else. Select is the appropriate form element here.
J
--
James Aylett
talktorex.co.uk - xapian.org - devfort.com
More information about the Xapian-discuss
mailing list