Forums Forums Search & Filter Pro Autocount speed

Viewing 10 posts - 11 through 20 (of 28 total)
  • Anonymous
    #233369

    the second delay is causing issues, we have lots of property owners on the site and have had this complaint many times saying they ‘have to click twice to get the search to work’. I know this is because of the delay, I know the delay is not that long but it’s longer than it takes to actually move on and try and click search. Users are not going to select something then wait a second to click the next thing. I was hoping I could get something to speed things along as we have had the complaints about it.

    Trevor
    #233376

    I don’t think that there is. I am not sure if this is something Ross is working on for V3.

    Anonymous
    #233392

    Maybe we could add a loading type graphic / text to at least let the user know something is happening. would that be a possibility?

    Trevor
    #233396

    Yes, you could also grey things out, anything. It would need to be done using JavaScript, using the ajaxformstart and ajaxformfinish actions. Use the former to detect settings before the Auto Count runs, and use the latter to reset to those.

    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxformstart", ".searchandfilter", function(){
    // so do what you need to show the form has started to re-calculate fields, for example, fade or show a loading icon
      });
      $(document).on("sf:ajaxformfinish", ".searchandfilter", function(){
    // so do what you need to show the form has finished re-calculating fields, for example, remove fade or remove a loading icon
      });
    }(jQuery));</script>
    Anonymous
    #233406
    This reply has been marked as private.
    Trevor
    #233410

    Add an echo log to the console to see if it is being fired?

    console.log("fired");

    Anonymous
    #233412
    This reply has been marked as private.
    Trevor
    #233422
    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxformstart", ".searchandfilter", function(){
        console.log("fired start");
    // so do what you need to show the form has started to re-calculate fields, for example, fade or show a loading icon
      });
      $(document).on("sf:ajaxformfinish", ".searchandfilter", function(){
        console.log("fired finish");
    // so do what you need to show the form has finished re-calculating fields, for example, remove fade or remove a loading icon
      });
    }(jQuery));</script>
    Anonymous
    #233424

    hi, nothing in the console…

    Trevor
    #233430

    How did you add the script to the page?

    Do any errors show in the browser web developer tools console?

Viewing 10 posts - 11 through 20 (of 28 total)