Documentation Category: Hook

gpi_inventory_limit_advanced

Filter the inventory limit for fields using the Advanced Inventory Type.

gpi_reset_value_on_property_change

Filter whether to reset the value of the current field with inventory that is using properties. Clearing out the value of choice-based fields will reset the selected choice back to the placeholder or the first available option.

gpi_choice_input_types

Specify what input types should utilize choice-based inventory.

gpi_always_show_inventory_limit_in_editor

Force the Form Editor to always show the Inventory Limit for choices, products, and resources rather than the current inventory.

gpi_supported_field_types

Specify what field types are supported. This works in conjunction with gpi_supported_input_types by overriding specific field types. When adding a field type to this filter, you can provide a value of true to enable Inventory for all input types of a given field type. To limit it to certain input types for a field, provide an array of the supported input types.

gpi_supported_input_types

Specify what input types are supported. Input types can be excluded for field types by using the gpi_supported_field_types filter.

gpfup_before_upload (JS)

DescriptionUsageParametersExamplesLimit duration of MP4/MOV files to 10 secondsTotal Max File SizeSinceDescription JavaScript action to process/validate file prior to upload. Usage Parameters formId int The current …

gpep_delete_cookie_on_logout

Delete GPEP cookie when users log out.

gppa_run_pre_render_in_ajax

Filter whether gform_pre_render should be utilized when fetching the new markup for fields when populated via AJAX. While disabling gform_pre_render during AJAX can be helpful in some cases, consider it a workaround as it can have adverse effects on certain integrations.

gpfup_jpeg_quality (JS)

DescriptionUsageParametersExamplesIncrease JPEG quality to 1 (100%) for all uploaded imagesSinceDescription Filter the quality used for JPEGs when auto-cropping and manual cropping. Usage Parameters jpegQuality float …

gpfup_strip_image_metadata (JS)

DescriptionUsageParametersExamplesInclude image metadata/EXIF on all uploaded imagesSinceDescription Filter whether or not image metadata (EXIF) should be stripped from the image when uploaded. Disabling metadata is …

gppa_should_trigger_change (JS)

DescriptionUsageParametersExamplesRequire input to have at least 4 characters before triggering a change.SinceDescription Override when fields and Live Merge Tag values are refreshed when dependent inputs …

gplcb_checkbox_count (JS)

DescriptionUsageParametersExampleCustom Choice CountsSinceDescription Filter the count value of each checkbox in a field. Useful when trying to specify a custom weighted value for some checkboxes. …

gpfup_strings (JS)

DescriptionUsageParametersExamplesCustomize the “select file” button text for a specific fieldSinceDescription Filter the localized strings used on the File Uploader. Usage Parameters strings object Localized strings …

gpep_disable_session_manager

DescriptionUsageParametersSinceDescription This filter disables GPEP session manager which makes GPEP usable only with tokens. Usage Parameters disable_session_manager bool Disable GPEP session manager. Default: false. Since …