Gravity forms a fire js event upon successful feed

Is it possible in gravitational forms to somehow trigger a javascript event when the ajax form is successfully submitted?

Adding html javascript to the displayed answer does not work, for example:

<script>console.log("successful-form-transmition");</script> 
+5
source share
1 answer

Where Gravity Forms successfully issued, there was an event: gform_confirmation_loaded . You can use it with jQuery as follows:

 $(document).on("gform_confirmation_loaded", function (e, form_id) { // code to run upon successful form submission }); 
+9
source

All Articles