DescriptionUsageParametersExamplesSource Code
Description
Fired on AJAX-enabled forms when the confirmation page is loaded.
Usage
12345
Parameters
event JS Object | object
The Javascript event object.
formId integer
The ID of the form submitted.
Examples
This event is very useful when the popular font substitution script Cufon is being applied to a Gravity Form which uses the AJAX form submission functionality. The snippet below provides an example usage of the gform_confirmation_loaded event to refresh the Cufon font substitution when the confirmation page is loaded.
1234567
Here is another example where the form ID parameter is used to run different code depending on which form』s confirmation is being loaded.
12345678910111213
Source Code
This filter is located in form_display.php.