Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Find using multiple values with MOptions, posted by Neil Swartz on Sat Jan 8 16:40:04 2005 
    icon2.gif   Re: Find using multiple values with MOptions, posted by Stefan Ritt on Mon Jan 17 16:51:35 2005 
       icon2.gif   Re: Find using multiple values with MOptions, posted by Neil Swartz on Tue Jan 18 03:37:40 2005 
          icon2.gif   Re: Find using multiple values with MOptions, posted by Stefan Ritt on Tue Jan 18 13:06:48 2005 
             icon3.gif   Re: Find using multiple values with MOptions, posted by Neil Swartz on Wed Jan 19 04:33:00 2005 
                icon2.gif   Re: Find using multiple values with MOptions, posted by Stefan Ritt on Fri Jan 21 23:30:35 2005 
Message ID: 884     Entry time: Tue Jan 18 03:37:40 2005     In reply to: 882     Reply to this: 885
Icon: Reply  Author: Neil Swartz  Author Email: neilswartz@verizon.net 
Category: Question  OS: All  ELOG Version: 2.5.5 
Subject: Re: Find using multiple values with MOptions 
> > I have a logbook with an attribute that has a number of fixed values. I 
> > use MOptions to prevent typos when entering and allow multiple "keywords".
> > When searching the users can only search on one keyword.
> > Is there any way to search on multiple values (AAA|BBB|CCC)? If I do not 
> > use MOption, they can do this, but the users entering logs may mistype the 
> > keywords.
> 
> Even with Moptions, you can put into the "Text:" line
> 
> (AAA|BBB|CCC)
> 
> and click on "Search text also in attributes". This is a valid regular
> expression with searches for AAA or BBB or CCC. Unfortunately you still can
> mistype the values. If I would add check boxes in the find page, it would not
> be clear if one searches for an "AND" of several values or an "OR" (Most people
> would probably think that they want an "AND" because this happens if they
> restrict several attributes).

Yes, I can use the Text: search, but I still have the mistyping problem. (My 
field values are like "ENA, ETB, HRES, etc.) -- Easy to have a typo.

Currently there is a dropdown when searching for MOption fields. Maybe you could 
allow multiple selections in the dropdown. This to me is an "OR" search.
ELOG V3.1.5-fe60aaf