This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Search bar to ignore spaces

#33675
Ernest MarcinkoErnest Marcinko
Keymaster

Hi Alison,

In this specific case, does the keyword “2019Case1” exist somewhere in the post content or in the selected fields? If it does not exist, then this is not going to be possible.
All that code does is removes the spaces from the phrases entered, and then matches the resulting keyword agains the selected fields.

I think what you mean is somehow detecting when the user did not enter the spaces and account for them – basically the other way around. Unfortunately that is not possible. There is no way to tell from the code perspective where the spaces should be, and trying all the variations would simply overload the server within seconds.