gform_progressbar_start_at_zero

Description

Use this filter to change the progress bar on multi-page forms to start at zero percent. By default, the progress bar starts as if your first step has been completed.

Usage

add_filter( 'gform_progressbar_start_at_zero', '__return_true' );

Placement

This code should be placed in the functions.php file of your active theme.

Since

This filter was added in Gravity Forms version 1.6.3.

Source Code

This filter is located in the following methods in form_display.php:

  • GFFormDisplay::get_form()
  • GFFormDisplay::get_progress_bar()