Scripts/Styles
Articles
gform_enqueue_scripts
This filter is executed during the process of enqueuing scripts for each form in the current page.
gform_post_enqueue_scripts
The gform_post_enqueue_scripts action hook is executed at the end of the process of enqueuing scripts and styles for each form embedded in the current page by shortcode or block.
gform_pre_print_scripts
The gform_pre_print_scripts action hook is executed just before the scripts are printed to the page for the form widget or when a form embed is processed in a custom location using GFCommon::gform_do_shortcode().
gform_print_scripts
The gform_print_scripts action hook is executed just after the scripts are printed to the page for the form widget or when a form embed is processed in a custom location using GFCommon::gform_do_shortcode().
gform_register_init_scripts
Tap into Gravity Forms “initialization scripts” functionality and register your own scripts to run inline with Gravity Forms.