Search bar customisation with Checkbox fields

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #530980

    Martin Roche
    Expired Member
    Post count: 29

    Hi. My main search criteria are by:

    Booking System;
    Travel & Expense; and
    NDC Content

    https://focustravel.uk/partner-directory/
    (also see attached screenshot)

    Travel & Expense and NDC Content are both Checkbox fields in the Custom Fields and you’ll see how they appear in the Add Listings page – https://focustravel.uk/add-listing/?listing_type=gd_place (see attachments)

    I need these to appear better in the Search bar. They both currently have “Yes” as a dropdown but it is confusing once you click on it. Ideally need as a Yes/No radio button on the search before the User clicks the search button.

    Please help

    #531174

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    sorry for the late reply, my earlier reply seems to have failed to post.

    There may be something you could do with the search options drawer. Instead of setting the fields in the search bar you could uncheck that and use CSS to format the search drawer options to your liking.

    Have you tried that?

    https://wpgeodirectory.com/docs-v2/design/gd_search/

    #531191

    Martin Roche
    Expired Member
    Post count: 29

    Thanks Alex,

    This looks really complicated, and even with the GD Search documentation it doesn’t explain how I would display the two options I want with a Checkbox instead of the dropdown.

    Could you give me a clear working example please for my “Travel & Expense” checkbox option, then I can duplicate it for the “NDC Content” one.

    Thanks

    #531286

    Alex Rollin
    Moderator
    Post count: 27815

    Well, for example, you could add those fields to the search drawer, then use the same CSS you are already using to hide the search for and search near fields.

    We don’t have any examples of that, it is pretty far outside the common use. If you don’t need any of the regular fields in the search row, then, the remaining option is to place them in the drawer.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount