javascript - gravity forms fire js event on successfull form submission -
is in gravity forms anyhow possible fire javascript event on successful ajax form transmittion?
adding html javascript displayed response not seem work eg:
<script>console.log("successful-form-transmition");</script>
there's event fired upon successful gravity forms submission: gform_confirmation_loaded
. can use jquery so:
$(document).on("gform_confirmation_loaded", function (e, form_id) { // code run upon successful form submission });
Comments
Post a Comment