ff_rendering_calculation_form

Description #

This action runs if the form input has calculation in it and during rendering the input . If you need to do anything in the background you can use this action.

/*
* Source Action
*/
do_action('ff_rendering_calculation_form', $form, $data);

Usage #

add_action('ff_rendering_calculation_form', 'custom_function', 10, 2);

function custom_function($form, $data)
{
   // Do your stuff here
}

Parameters #

  • $data (array) Input Element
  • $form(object) Form Object

Source Code #

This filter is located in fluentform/app/Services/FormBuilder/Components/Text.php

Powered by BetterDocs

Leave a Reply

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