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.
Marcel Westerhoff
Forum Replies Created
-
Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 22, 2020 at 6:10 pm #260393Yes, it works. Thanks again!
Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 22, 2020 at 5:10 pm #260389Just one more question: I work with multiple forms. I know how to add the css rules but am not sure how to add those to the script. Just like this?
<script>(function ( $ ) {
“use strict”;
$(document).on(“sf:ajaxformstart”, “.searchandfilter”, function(){
$(‘.searchandfilter[data-sf-form-id=”10574″, data-sf-form-id=”13928″] li.sf-field-submit input’).addClass(‘disabled’);
});
$(document).on(“sf:ajaxformfinish”, “.searchandfilter”, function(){
$(‘.searchandfilter[data-sf-form-id=”10574″, data-sf-form-id=”13928″] li.sf-field-submit input’).removeClass(‘disabled’);
});
}(jQuery));</script>Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 22, 2020 at 5:07 pm #260387Works like a charm! I work with the GeneratePress theme and always include scripts as a hook in wp_head. So that works fine! Thank you so much!! Great work!
Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 22, 2020 at 3:56 pm #260372Fading it would be perfect Trevor. Great suggestion 🙂
I deleted the scripts. This is the url: https://sunrentals.k-dushi.com/Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 22, 2020 at 3:42 pm #260366And this also doen’t work:
<script>(function ( $ ) { "use strict"; $(document).on("sf:ajaxformstart", ".searchandfilter", function(){ elem.style.display = 'none'; }); $(document).on("sf:ajaxformfinish", ".searchandfilter", function(){ elem.style.display = 'block'; }); }(jQuery));</script>
Like I said, I’m not really good at javascript… Sorry!
Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 22, 2020 at 3:39 pm #260364This is what I have now but it doesn’t work:
<script>(function ( $ ) { "use strict"; $(document).on("sf:ajaxformstart", ".searchandfilter", function(){ $(".sf-field-submit").hide(); }); $(document).on("sf:ajaxformfinish", ".searchandfilter", function(){ $(".sf-field-submit").show(); }); }(jQuery));</script>
Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 22, 2020 at 3:36 pm #260362Hi Trevor,
Thanks for your reply. Yes, I’m using auto count.
My javascript knowledge is really bad. I don’t know what to put in the lines:
// disable the button, grey it out, or whatever
// enable the button, restore it, or whateverIf possible could you provide me of the script making the button hidden (not visible) when it’s loading the results after filtering and make it visible again when the results are loaded?
I would very much appreciate that!
Marcel Westerhoff in reply to:
Looks like Submit button isn’t working because of delay(Private) September 21, 2020 at 1:13 pm #260154Forgot to select the “Notify me of follow-up replies via email” option. Done now. You can ignore this latest reply.
Marcel Westerhoff in reply to:
Search Form doesn’t work at all (it’s not filtering)(Private) May 28, 2020 at 12:47 pm #246299Awesome, thank you very much!
Marcel Westerhoff in reply to:
Search Form doesn’t work at all (it’s not filtering)(Private) May 27, 2020 at 3:27 pm #246126This reply has been marked as private. -
AuthorPosts