Extending Integrated Forms - Post Success Actions
Can I Perform Extra Actions After a Form Submission?
Yes, you can.
Even though 3rd-party form plugins have their own way of handling form submissions, Popup Maker v1.9+ provides a PHP hook you can use to run code after successful submissions.
What's more, this single hook can reliably support AJAX & non-AJAX-based forms!
Add the following code to your site using the following options:
- Child theme: Add the snippet to your child theme's
- Theme settings: Use your theme's custom code settings or snippets area
- Code snippets plugin: Use a 3rd-party plugin that can add PHP code to your site
Do you need help with adding custom PHP to your site? Check out our Getting Started with Custom PHP guide.