gform_post_recaptcha_render

Description

The gform_post_recaptcha_render JavaScript hook can be used to perform custom actions once the reCAPTCHA widget has been rendered.

Usage

gform.addAction('gform_post_recaptcha_render', function (elem) {
    // do something
});

Parameters

Examples

1. Basic usage

<script>
gform.addAction('gform_post_recaptcha_render', function (elem) {
    // do something
});
</script>

Placement

Your code snippet can be placed in a HTML field on your form or in a theme custom JavaScript file.

Since

This hook was added in Gravity Forms 2.0.6.8.

Source Code

This hook is located in js/gravityforms.js