Description #
This action runs if the form is step form and before rendering the step. If you need to do anything in the background you can use this action.
/*
* Source Action
*/
do_action('fluentform/render_item_step_start', $startElement, $form);
Usage #
add_action('fluentform/render_item_step_start', 'custom_function', 10, 2);
function custom_function($startElement, $form)
{
// Do your stuff here
}
Parameters #
- $startElement (array) Start Element
- $form(object) Form Object
Source Code #
This filter is located in fluentform/app/Services/FormBuilder/FormBuilder.php