Caldera Forms Processing Overview


This article is an overview of how Caldera Forms processes form submissions. It is aimed at developers who are looking to modify the way that forms are processed in order to customize the way a specific form processed submissions or for making a Caldera Forms processor plugin. In this post, I will be discussing the life-cycle of a submission, as well as the various hooks and functions that are useful to you in modifying this. For a quicker “I need to get the data and do this” please see this article, which is great if you’re doing a quick integration.
There is also a brief, non-complex overview of creating Caldera Forms processor plugins here, as well as a grunt-init task for generating an add-on on Github. I will expand on those soon.
The Caldera Forms API
Caldera Forms submissions are sent via AJAX by default. This can be changed to traditional synchronous processing from the form settings. In both cases the submission is sent via a POST request to a custom endpoint.
Let’s look at the API as an entry point and how returning data works before looking at what happens in between. This way we will have a better understanding of why and how to return errors or success
Source: https://managewp.org/articles/13646/caldera-forms-processing-overview




source https://williechiu40.wordpress.com/2016/10/18/caldera-forms-processing-overview/