Search with only 2 letters + using ‘Enter’

Ivory Search Forums Support Search with only 2 letters + using ‘Enter’

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #15884
      Peter
      Participant
      • Topics: 1
      • Replies: 2

      Dear Support,

      is it possble to start the search with only 2 letters?
      Setting the indexing to 2 letters under ‘Advanced options’ doesnt help… (see screenshot)

      And is there a way to make the ‘Enter’ key work for searching? I think a lot of users will try to hit the ‘Enter’ after writing in their search terms.
      The best would be if it could take you to the default ‘Search’ page where everything is listed.

      Thank you in advance!

      Attachments:
      You must be logged in to view attached files.
    • #15897
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      Hi Peter,

      I hope you are well today and thank you for your question.

      You can achieve this by configuring the search form as shown in the attached screenshot.

      Best regards,
      Ivory Search Support

      Attachments:
      You must be logged in to view attached files.
      • #15960
        Peter
        Participant
        • Topics: 1
        • Replies: 2

        Thank you for the quick reply! The 2 letter search is working now perfectly.

        However the ‘Enter’ key and clicking the search icon still doesn’t work.
        Is it maybe something connected with the WP theme we use?

        The site link is here (still in development)

    • #15975
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      Is it maybe something connected with the WP theme we use?

      Please try using the search form shortcode directly on the page as described below and check whether it works fine.

      Display Search Form In Page

      • #16107
        Peter
        Participant
        • Topics: 1
        • Replies: 2

        Good news, finally I found what caused the search icon and the ‘Enter’ key not working! And it’s not connected to your plugin at all.
        The programmer guy who started the construction of the site put a javascript file in the child theme with a tiny function disabling the search button:

        ` $(‘button.is-search-submit’).on(‘click’,function(e){
        e.preventDefault();
        }); `

        I have no idea why he did it… I commented out the script and since then everything is working fine.
        This is what happens if somebody starts something and somebody else need to finish. It took a lot of time to find this hidden little script grrrr…

        So the plugin is working great, it was not your fault!
        Sorry that I bothered you with this issue, and big thanks for your time spent with trying to help me.

        Thank you!
        A happy customer šŸ™‚

    • #16111
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      You are always welcome, Iā€™m glad that it is working fine for you now. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:

      Click to leave a review

      Iā€™d really appreciate that. šŸ™‚

      And if I can be of any further assistance please don’t hesitate to ask.

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.