i am usiing filter “gform_after_submission” to send the form data to some api ,
and according the resulat if the api failed stop the process (dont go to thank you page)
and stay on the form page and display popup with error message.
i dont know how to prevent the thank you page
may be " gform_disable_post_creation" ?
or “gform_pre_submission” is the solution ?