Title: devpii's Replies | WordPress.org

---

# devpii

  [  ](https://wordpress.org/support/users/devpii/)

 *   [Profile](https://wordpress.org/support/users/devpii/)
 *   [Topics Started](https://wordpress.org/support/users/devpii/topics/)
 *   [Replies Created](https://wordpress.org/support/users/devpii/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/devpii/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/devpii/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/devpii/engagements/)
 *   [Favorites](https://wordpress.org/support/users/devpii/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder] Filter Hook – [fluentform/rendering_field_html_{$elementName}]](https://wordpress.org/support/topic/filter-hook-fluentform-rendering_field_html_elementname/)
 *  Thread Starter [devpii](https://wordpress.org/support/users/devpii/)
 * (@devpii)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/filter-hook-fluentform-rendering_field_html_elementname/#post-17239225)
 * Thanks it works now.
 * When using the example from your docs ([https://fluentforms.com/docs/fluentform_rendering_field_html_elementname/](https://fluentforms.com/docs/fluentform_rendering_field_html_elementname/))
   I got a php error.
   `add_filter(‘fluentform/rendering_field_html_input_email’,
   function($html, $data, $form){``return $form;``}, 10, 1);<br>`
 * The return value has to be $html
   `$targetElement = 'input_text';``add_filter('
   fluentform/rendering_field_html_' . $targetElement, function($html, $data, $form){``
   return $html;``}, 10, 3);<br>`
    -  This reply was modified 2 years, 5 months ago by [devpii](https://wordpress.org/support/users/devpii/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder] Filter Hook – [fluentform/rendering_field_html_{$elementName}]](https://wordpress.org/support/topic/filter-hook-fluentform-rendering_field_html_elementname/)
 *  Thread Starter [devpii](https://wordpress.org/support/users/devpii/)
 * (@devpii)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/filter-hook-fluentform-rendering_field_html_elementname/#post-17238967)
 * Hi,
   thank you very much, works perfectly.
 * I have one other request. I also would like to reformat some input fields to 
   a custom element.
   For example: <my-input> instead of <input><my-custom-textarea
   ></my-custom-textarea> instead of <textarea></textarea>
 * Is that possible via filters and `str_replace`?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)