Description #
This action runs if the form input has a 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('fluentform/rendering_calculation_form', $form, $data);
Usage #
add_action('fluentform/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 hook is located in fluentform/app/Modules/Component/Component.php