Forums Forums Search & Filter Pro SFpro with ACFpro (date pickers)

Viewing 1 post (of 1 total)
  • Trevor
    #95934

    The current plugin does not offer this option, but it can be done, with some coding. It requires that you add a date range search to the form and set that up to look within the range (from … to), and then use CSS to hide the To data entry field in the front end.

    So far so good. Then, you need some custom javascript (jQuery) to add to the page with the form so that the js watches for changes with the From field, and copies the date over to the To field. It is not quite so easy because of the way the jQuery UI Datepicker works, as I am not sure what you need to look for as it inserts the date into the From field.

    For V3 of our plugin (the next version, that we are now working on) this should be simpler to set up with this option in the single field search.

Viewing 1 post (of 1 total)