Description #
This filter returns HTML output for each input of the form. It is used in all the input components. You can hook into this and modify the HTML output of any field using this filter.
apply_filters('fluentform/rendering_field_html_'.$elementName, $html, $data, $form);
Usage #
add_filter('fluentform/rendering_field_html_textarea', function ($html, $data, $form) {
return $html;
}, 10, 3);
Parameters #
- $html (string) Html Data
- $data (array) Field Data
- $form (int) Form Object
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in app/Services/FormBuilder/Components/