Skip to main content

Merge tag {custom_field:NAME}

Custom field of the form's page. A custom field of the page the form is on, like {custom_field:my_key}. Empty when the form is not on a single post or page.

On the test entry, {custom_field:gkmt_example_meta} gives Value stored on the page.

ProductGravity Forms
RequiresGravity Forms 1.0 or later
Needs an entryYes. Its value comes from a form entry.

Parameters

NameTypeRequiredDefaultDescription
Meta keytextYes—Any custom field of the form's page, including hidden ones.

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutput
{custom_field:gkmt_example_meta}Value stored on the page