Jump to errors upon submission [RESOLVED]

I’d like to have the user jump to the error message when there is an error on a form. This is particularly important for longer forms.

I used to have this code a while back on my site but it caused an error on my site when I upgraded the PHP from 7.4 to 8.0. Seemed that the login page would disappear while I had this code on the site:

/*Gravity form send user to where error is on form*/
add_filter("gform_confirmation_anchor", create_function("","return true;")); 

Any help would be appreciated.

Seems Gravity support sent me a nice solution:

Hey: that was me who sent that :wink: