Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Formatting search box and fields

Tagged: ,

Viewing 10 posts - 11 through 20 (of 22 total)
  • Cristina Morbidoni
    #250962
    This reply has been marked as private.
    Trevor Moderator
    #250970
    This reply has been marked as private.
    Cristina Morbidoni
    #250976
    This reply has been marked as private.
    Trevor Moderator
    #251001

    1. Having two forms on the one page, whether the same form or different forms, can potentially cause issues, especially if they output/control results on that same page.

    2. That is normal behavior for search boxes for Chrome. Most confusing. This CSS will generally fix that (not just for our forms):

    input:focus::-webkit-input-placeholder {
        color: transparent;
    }

    3. This is why there should not be two forms on the same page.

    Please note that we are now near to closing for the day as it is late afternoon here in the UK, so my next reply may not be until tomorrow.

    Cristina Morbidoni
    #251009
    This reply has been marked as private.
    Cristina Morbidoni
    #251039
    This reply has been marked as private.
    Cristina Morbidoni
    #251085
    This reply has been marked as private.
    Trevor Moderator
    #251185

    You have 3 posts.

    #251009 In V3, I think what you want (to have the two forms, may become possible. V3 is due in a few months).

    #251039 It will need to be coded in PHP. This page should help:

    https://searchandfilter.com/documentation/accessing-search-data/#get-the-search-term

    #251085 This is fairly normal UX practice. It is because the majority of ‘second’ searches are typo corrections.

    Cristina Morbidoni
    #251189
    This reply has been marked as private.
    Trevor Moderator
    #251195

    What does that plugin normally expect? Can you give me an example? The search term is not stored as a PHP string variable, and it is not available using the WordPress normal process, e.g. get_query_var( 's' ), which is what I suspect it might want. Maybe using _sf_s would work?

Viewing 10 posts - 11 through 20 (of 22 total)

The topic ‘Formatting search box and fields’ is closed to new replies.