Closing Caldera Forms Modals Using JavaScript
Caldera Forms has an option to allow your forms to appear on the screen as a link or button and then open as a pop up modal. This works automatically, requiring no additional code. If you would like to program some other way for the modal to close, besides clicking on the close icon or submitting the form, you can do this using JavaScript.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed