---
title: "fluentform/rendering_field_html_{$elementName}"
description: "## Description  This filter is available before rendering the form fields. You can use this filter to modify the form fields. ```php apply_filters('fluentform/rendering_field_html_'.$elementName, $html, $data, $form); ``` ## Usage   The following would apply to all forms: ```php add_filter('fluentform/rendering_field_html_input_email', function($html, $data,…"
url: "https://fluentforms.com/docs/fluentform_rendering_field_html_elementname/"
updated: "2024-08-06"
category: Filter Hooks
---

# fluentform/rendering_field_html_{$elementName}

## Description 

This filter is available before rendering the form fields. You can use this filter to modify the form fields.

```php
apply_filters('fluentform/rendering_field_html_'.$elementName, $html, $data, $form);
```

## Usage  

The following would apply to all forms:

```php
add_filter('fluentform/rendering_field_html_input_email', function($html, $data, $form){
   return $html;
}, 10, 3);
```

## Parameters

- **$html**  (string) HTML output of field
- **$data** (array) Form Field Element
- **$form** (object) The [$form Object](https://fluentforms.com/docs/form-object/)

## Placement

This code should be placed in the [functions.php](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Source Code

This filter is located in FluentForm\App\Services\FormBuilder\Components\Text -> compile($data, $form)
