fluentform_before_form_actions_processing

Description #

This action fires after form submission and before processing the form’s additional actions. If you want to do any task before form submission

/*
* Source Action
*/
do_action('fluentform_before_form_actions_processing', $insertId, $formData, $form);

Usage #

The following would apply to a specific form id: 5:


add_action('fluentform_before_form_actions_processing', 'your_custom_function', 10, 3);

function your_custom_function($insertId, $formData, $form)
 {
     if ($form->id != 5) {
         return;
     }
     // Do your stuff here
 }

Parameters #

  • $insertId (integer) Entry ID of this response
  • $formData (array) Entry Response as key value pairs array as input name as array key
  • $form (object) The $form Object

Source Code #

This filter is located in fluentform/app/Modules/Form/FormHandler.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *