zaus / forms-3rdparty-integration

Wordpress Plugin - Forms 3rdparty Integration - a plugin to help integrate 3rdparty services with common WP Forms plugins like Contact Form 7 and Gravity Forms
http://wordpress.org/plugins/forms-3rdparty-integration/
47 stars 14 forks source link

Display Response Without Hook #74

Closed ghost closed 7 years ago

ghost commented 7 years ago

Thanks for this plugin. I am not able to add to the functions, and so prevented from using hooks. I wondered if there was a simple way of displaying the response in the success case?

I am using Contact Form 7, and there is an Additional Settings input for the form, where I can run JS in the success case, using on_sent_ok:

Could I utilise this to display the whole body response, written back to the form with JS?

ghost commented 7 years ago

I used a plugin based upon your example Mailchimp code:

`if(!class_exists('Forms3rdParty_Callbacks')): /**

}//--- class Forms3rdParty_Callbacks //start 'em up $Forms3rdPartycallback_instance = new Forms3rdParty_Callbacks(); endif; //class-exists`