Forums Forums Search & Filter Pro Filter by Minimum Number

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #255734

    I found this discussion from about four years ago that discusses what I’d like to do:

    https://support.searchandfilter.com/forums/topic/great-thanless-than-or-equal-to/

    I’m curious if there have been any developments since then.

    Essentially, I have an ACF field for Number of Bedrooms. I’d like to have a dropdown that lets you filter by a minimum number. So the dropdown options might be:

    1
    2
    3
    4
    5+

    The solution offered in the above mentioned topic was to use a range field and hide the separator and max fields with CSS.

    I’ve set the max value to Auto Detect, but that will show every value up to the max. Where ideally I’d like to only have 1-5, with the last value really reading as 5+, so the list isn’t too long.

    I wrote some jQuery to remove options that aren’t in an array, but I’m wondering if there’s a better way to do this. It’d probably be wiser to use your UI rather than make changes to it via jQuery, if this feature has been added since the original discussion.

    Thanks,
    David

    Trevor
    #255764

    We plan to make this possible in V3, due now in a few months, but allowing the fields and their options to be way more flexible.

    Anonymous
    #255871

    That’s exciting news.

    If you need any beta testers, I’m happy to volunteer.

    Trevor
    #255877
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)