---
title: fluentform/before_form_actions_processing
description: "## 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 ```php /* * Source Action */ do_action('fluentform/before_form_actions_processing', $insertId, $formData, $form); ``` ## Usage The following…"
url: "https://fluentforms.com/docs/fluentform_before_form_actions_processing/"
updated: "2023-07-25"
category: Action Hooks
---

# 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

```php
/*
* Source Action
*/
do_action('fluentform/before_form_actions_processing', $insertId, $formData, $form);
```

## Usage

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

```php
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](https://fluentforms.com/docs/form-object/)

## Source Code

This action is located in fluentform/app/Services/Form/SubmissionHandlerService.php
