Forums Forums Search & Filter Pro Submit AJAX Form Submission Programmatically

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Trevor
    #273435

    To trigger the submit, use JavaScript like (assuming the form has an ID of 1234) this:

    $('.searchandfilter[data-sf-form-id="1234"]').submit();

    Anonymous
    #275265

    Hi Trevor,

    Thanks for the info. For future if anyone else has a similar issue, I was triggering the submit using vanilla JS but after updating it to use jQuery, it worked. Thanks for your reply and help!

    Trevor
    #275269

    Thanks for getting back to me. I will close this thread for now.

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