Description  #

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

apply_filters('fluentform_rendering_field_html_'.$elementName, $html, $data, $form);

Usage   #

The following would apply to all forms:

add_filter('fluentform_rendering_field_html_input_email', function($html, $data, $form){
   return $form;
}, 10, 1);

Parameters #

  • $form (object) The $form Object
  • $data (array) Input Field Data
  • $html (array) Input Html

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/

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *