I have set up the Gravity Forms plugin in my Wordpress website and implemented the AJAX feature on my form. Currently, upon submission, a Confirmation message is displayed automatically. However, I am interested in retrieving the content of this message using Javascript instead of having it directly shown on the form.
I am unsure about how to retrieve the Confirmation Message before it appears or prevent it from being displayed altogether.
It seems like the 'gform_post_render' javascript hook is triggered just before the message is displayed, but I am uncertain about where to access the confirmation message value or stop it from appearing.
Is there a method to override the default output of the confirmation message? Alternatively, is there a more effective way to configure Gravity Forms to provide a dynamic value through AJAX so that I can then decide what action to take next?
Thank you!