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
<?php
add_filter("gform_progressbar_start_at_zero", "set_progressbar_start");
?>
Examples
<?php
add_filter("gform_progressbar_start_at_zero", "set_progressbar_start");
function set_progressbar_start()
{
return true;
}
?>
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in form_display.php