Gform advanced settings

Spivurno (Talk | contribs)
(Created page with "__NOTOC__ == Description == Use this filter to create a new form setting under the Properties tab. Useful when implementing a new setting that applies to the form rather than a s...")
Newer edit →

Revision as of 20:43, 2 April 2012

Description

Use this filter to create a new form setting under the Properties tab. Useful when implementing a new setting that applies to the form rather than a specific field.

Usage

<?php
add_action("gform_advanced_settings", "my_form_advanced_settings", 10, 2);
?>

Parameters

$position
(integer) Specifies the position that the settings will be displayed. For a list of all available positions, search form_detail.php for "gform_properties_settings".
$form_id
(integer) The ID of the current form.

Examples

This hook functions identically to the gform_field_advanced_settings hook. The only difference is the location of where the custom setting is output. Reference this example for usage.

Source Code

This filter is located in form_detail.php

Search the Documentation