Styles/Scripts
Articles
gform_config_data_$name
Allows users to filter the raw config data that eventually gets parsed into localized data.
gform_disable_css
The filter gform_disable_css can be used to disable all CSS files from being loaded on the Front End.
gform_disable_form_legacy_css
The gform_disable_form_legacy_css filter allows the CSS to be disabled for forms using the legacy markup, usually forms created with Gravity Forms 2.4 and earlier.
gform_disable_form_theme_css
The gform_disable_form_theme_css filter allows the default form theme used by forms created with Gravity Forms 2.5 and greater to be disabled.
gform_disable_print_form_scripts
This filter can be used to prevent scripts and stylesheets being printed.
gform_field_css_class
This filter can be used to dynamically add/remove CSS classes to a field.
gform_footer_init_scripts_filter
Allows the scripts that fire in the footer to be modified.
gform_force_hooks_js_output
The gform_force_hooks_js_output filter can be used to prevent the Gravity Forms scripts from being added to all pages.
gform_form_theme_slug
The gform_form_theme_slug filter can be used to filter the form theme.
gform_init_scripts_footer
This filter is executed during form load. When set to true, the form init scripts are loaded in the footer of the site, instead of the default location of which is in the page body immediately after the form.