Form Object Filters

Articles

gform_admin_pre_render

This filter is executed before the entry detail is displayed and can be used to manipulate the Form Object prior to rendering the entry.

gform_field_value_$parameter_name

This filter is executed before displaying each field and can be used to dynamically populate fields with a default value.

gform_form_post_get_meta

The gform_form_post_get_meta filters the Form Object after the form meta is retrieved from the database.

gform_form_pre_process_async_task

The gform_form_pre_process_async_task filter can be used to modify the form object before notifications and add-on feeds are processed by the async (background) task processor.

gform_form_tag

This filter is executed when the form is displayed and can be used to completely change the form tag (i.e. <form method="post">).

gform_form_update_meta

Allows modifying the form meta before it is saved to the database.

gform_get_form_filter

This filter allows you to override the form's HTML after it has been generated but before it is displayed.

gform_pre_form_settings_save

Modify the form object before saving on the Form Settings page. Useful for saving custom settings added via the gform_form_settings filter.

gform_pre_render

The gform_pre_render filter is executed before the form is displayed and can be used to manipulate the Form Object prior to rendering the form.

gform_pre_submission_filter

The gform_pre_submission_filter filter is executed after form validation, but before any notifications are sent and the entry is stored.