Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Autocount speed

Viewing 10 posts - 11 through 20 (of 28 total)
  • dann hanks
    #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 Moderator
    #233376

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

    dann hanks
    #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 Moderator
    #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>
    dann hanks
    #233406
    This reply has been marked as private.
    Trevor Moderator
    #233410

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

    console.log("fired");

    dann hanks
    #233412
    This reply has been marked as private.
    Trevor Moderator
    #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>
    dann hanks
    #233424

    hi, nothing in the console…

    Trevor Moderator
    #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)

The topic ‘Autocount speed’ is closed to new replies.