Forums Forums Search & Filter Pro Conditional Fields

Tagged: 

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

    Hi again!
    I know that it’s not possible via backend to show / hide fields according to some values selected in other fields.

    Can you please advice how to avoid some fields to be inserted into the query, if some specific condition comes into play?

    I.E.
    I have range slider field type, and even though I don’t want to use it in filtering, looking at the parameters in URL, it’s always there.

    Thank you! 😉

    Trevor
    #213693

    At this time, that can only be done yourself with custom JavaScript (somewhat complex), but is on our to do list for V3.

    Anonymous
    #213898

    Great Trevor!
    In the meanwhile, aside the custom complex Javascript to implement the conditional field, how can I prevent the range slider field to be included in the search if it wasn’t moved from the starting mix and max values?

    Thanks!

    Trevor
    #213915

    This has been asked before. The problem is how to tell if the defaults are being used, and even if they are, the user may want this. I think V3 may add an extra setting to the min max; something like ‘include (or exclude) all posts with no value set?’ At the moment this is fixed to exclude (which is the SQL default when doing this sort of thing).

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