Forums Forums Search & Filter Pro auto submit delay duration

Viewing 7 posts - 1 through 7 (of 7 total)
  • Trevor
    #254977
    This reply has been marked as private.
    Anonymous
    #255057
    This reply has been marked as private.
    Trevor
    #255062

    Your only (simple) option is to disable Auto Submit, and have the Submit button in the form.

    Anonymous
    #255064

    For some reason “disable Auto Submit” has the same issue plus it disable the events as well.

    Thanks,
    Ahmed

    Ross Moderator
    #255190

    Hi Ahmed

    Ajax events should work fine with or without specific fields / buttons.

    Our plugins takes over the forms .submit() and implements ajax, which is where the events are fired, regardless of what is used to get there.

    Take a look at this gif:
    https://drive.google.com/file/d/1vHCt30TAKVGcwWYYgZwGmlapiOb8FmDU/view?usp=sharing

    Anyway, if you must implement the code change, you can take a look in our JS file wp-content\plugins\search-filter-pro\public\assets\js\search-filter-build.js

    And look for the function initAutoUpdateEvents – everything is in there.

    Just to note, your site is probably calling our minified plugin file: \search-filter-pro\public\assets\js\search-filter-build.min.js – so once you’ve made your code change, minify, and update this file.

    Best

    Thanks

    Anonymous
    #255194

    Hi Ross,

    Thank you so much. I changed the delay in case of type=”text” in the function initAutoUpdateEvents and it is working perfectly now!

    Best regards,
    Ahmed

    Ross Moderator
    #255227

    Great stuff glad you’re setup 🙂

Viewing 7 posts - 1 through 7 (of 7 total)