I have a link set with
display: none with the URL of a file that my users can download after correct submission of a Gravity Form. The things is I only want to show this link if submission was successfull.
The only event I have found so far is
gform_post_render, but it is triggered each time the form is loaded, even if there was an error.