Forums Forums Search & Filter Pro Caught another bug in your plugin. Auto submit does not work w/ two date range

Viewing 10 posts - 1 through 10 (of 18 total)
  • Trevor
    #200097
    This reply has been marked as private.
    Anonymous
    #200146
    This reply has been marked as private.
    Trevor
    #200353

    I have come back to this one. Where you have any range field (number or date), the ranges are not affected by Auto Count. This is intentional. Read more about this here:

    https://support.searchandfilter.com/forums/topic/custom-max-price-for-price-slider/#post-77119

    Anonymous
    #200381
    This reply has been marked as private.
    Anonymous
    #200383
    This reply has been marked as private.
    Trevor
    #200400

    What you are saying is that if you have a date range, Auto Submit does not work when the first field is selected, and only submits after both fields are selected. If that is the question, that is correct and is intended.

    You could use javascript on document load to autofill one of the fields when the page opens. For example, the TO date, with a date far in the future, so that selecting the From field will effectively give you ‘from this date onwards’.

    Anonymous
    #200451
    This reply has been marked as private.
    Trevor
    #200886

    Hi James. As promised, on my test site I set up the form with two date range fields, and Auto Submit works fine. See here:

    https://sandfdev.cdnwebservices.net/shop/

    There are 5 posts. In the first date field they have sequential dates from 1 Feb 2019 to 5 Feb 2019, and in the second date field they have sequential dates from 1 Mar 2019 to 5 March 2019.

    Anonymous
    #200992

    Hey Trevor – its actually not working fine on your test site either. If you notice you are having the same problem I am having. It does not auto-submit unless BOTH of the sets of ranges are completed. In other words, you have to pick dates for “First Date” and “Second Date” for auto-submit to activate. My goal is for auto-submit to activate even if you just completed ONE of the sets of date fields, ex. you only choose a start and end date for “First Date”. Please use the form you put up on your test site and you will see exactly what I mean.

    Do you think a bug fix can be put in for this issue?

    Trevor
    #200996
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 18 total)