Would it be possible to invert the search function?

Would it be possible to invert the search function?

mhjamhja Posts: 12Questions: 5Answers: 0

Hi,

Serach function works well and shows only selected, based in the search criteria.

If there is a need to exclude, instead of show, based on a search critera?

Result based on a criteria

But would it be possible to exclude it instead and show everything that not match the search criteria?

//Mikael

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,145Questions: 26Answers: 4,736
    Answer ✓

    Looks like you have a custom search form. You can use regex searching. See the search() docs for details of the different search modes. Look at this example. In the Position column select regex and Uncheck smart search. As an example paste this into the Position search input to exclude Software Engineer from the results:

    ^(?!Software Engineer).*$
    

    Kevin

  • mhjamhja Posts: 12Questions: 5Answers: 0

    It is the layout I have customized using specified search functionality. Thanks for guidance - will see how it could be used.

Sign In or Register to comment.