I found the solution. I was loading the form inside [wpv-no-items-found]...[/wpv-no-items-found] shortcodes. These was breaking AJAX/JS. I put the form outside and now 'ajaxComplete' works fine.
Hello. Thank you for contacting the Toolset support.
Well - here is a sandbox site and you can auto-login to it using the following link:
- hidden link
The following form is set to submit with AJAX:
=> hidden link
The form is added the following page:
- hidden link
As you can see there is a link "CLICK HERE" at top of the above test form page and if you click on this link it will show you alert with message "hi there" - that is added as given under with the above form:
=> => hidden link
<a href="#" id="anchor_click" onclick="javascript:alert('hi there');"> CLICK HERE </a>
I've added the following custom JS code to the form's custom JS editor that should run the click event automatically on form submit, so when you submit the form it should automatically show the alert "hi there":
=> => hidden link