caldera_forms_submit_complete

Caldera Forms Banner

This action is called once all processing has completed.

It is passed 4 parameters:

  • $form – The form configuaration array
  • $referrer – The referring url structure
  • $process_id – The unique ID¬†given to the form submission
  • $entryid – The unique entry ID.

Examples

Send Caldera Forms Data To A Remote API

Since this hook runs after all validation and processors, it is an excellent time to send all or some field data to a remote API:

Resend Email After Caldera Forms Edit

By default, when editing an entry, the mailer is not sent. We can cause it to resend using the caldera_forms_submit_complete action. Like so:


If you were doing this, and wanted to change the configuration for the mailer, you would want to apply the caldera_forms_mailer filter if these conditions were met.

 

Change Value Of Caldera Forms Incremental Value Processor

You can use this hook to modify field data before the final save to database. For example, to change the value generated by the incremental value processor.

Where Does This Code Go?

When using WordPress hooks to customize Caldera Forms or other plugins you should not modify the plugin files, or you will lose your changes when you update the plugin. Instead you should create a small plugin to hold the custom code. It's easy, learn how here.

Technically you can add the custom code to your theme's functions.php, but then you will not be able to change your theme and keep these customizations.

Learn More