[ad_1]
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
