Thx that seems to have done the trick. If Im honest I dont recall manually entering that code into the functions.php file . . . is this dont automatically by the plugin ?
Gravity Forms does not automatically add code snippets to your site, it would have been added manually by someone with admin access to your site or with hosting file system access.