James Murphy(Private) January 28, 2019 at 2:43 am #200085
Found another bug unfortunately. Your auto-submit feature does not work when there is more than one date range option. Example…in my form I have post_meta date range range option for show_date and a post_meta date range option for on_sale_date. If user completes the “from” and “to” fields in only show date OR only on sale date, it will not auto submit. In order for auto submit to work for either on sale date or show date, one other field has to be completed…so for example, if I choose a date range for show date, I then must either choose a date range for on sale date OR fill out the “search” part of the form as well. The “search” part of the form will still auto submit if its the only thing filled in…but again, no auto submit unless one of the date range options AND other option is completed by the user.
Please advise on the fix for this.
thanksTrevor Moderator(Private) January 28, 2019 at 9:31 pm #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:Trevor Moderator(Private) January 29, 2019 at 7:31 am #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.
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:
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.James Murphy(Private) February 1, 2019 at 7:58 pm #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?
The topic ‘Caught another bug in your plugin. Auto submit does not work w/ two date range’ is closed to new replies.
Our support hours are:10am - 5pm (GMT), Monday - Friday
Please be aware that tickets opened over the weekend will looked at on Monday.