Filter Hook – [fluentform/rendering_field_html_{$elementName}]
-
Hi,
I would like to use the filter hook [fluentform/rendering_field_html_{$elementName}] to add a custom data attribute to specific input fields (e.g. name, email).
When using your example, I get an error / blank screen.
add_filter(‘fluentform/rendering_field_html_input_email’, function($html, $data, $form){ return $form; }, 10, 1);
How would you add data-form-detail=’xyz’ to an input field (type=email).Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Filter Hook – [fluentform/rendering_field_html_{$elementName}]’ is closed to new replies.