gform_load_field_settings

gform_load_field_settings

DescriptionUsageParametersExamplesSource Code

Description
Fires on the Form Editor page after a field』s settings panel has been opened and settings have been displayed.
Usage
12345

Parameters

event Event Object
Default JS event object.

field array
The current field object.

form Form Object
The current form object.

Examples
This hook is primarily used in conjunction with the gform_field_standard_settings, gform_field_advanced_settings, and gform_editor_js hooks.
The gform_field_standard_settings and gform_field_advanced_settings hooks are responsible for displaying custom field setting UI. These hooks are typically used in conjunction with the gform_editor_js hook to output any JS required by the custom settings UI. As part of this process, the gform_load_field_settings JS hook can be used in the gform_editor_js PHP hook, to only perform certain actions once the field settings have loaded.
Source Code
This filter is located in gravityforms.js

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註