跳到内容

Custom JSON Export for Gravity Forms

v2.27

sflwa · 2025年8月11日 上架

A plugin to export individual Gravity Forms entries to a customizable JSON file.

正在使用
10+
评分
暂无
累计下载
552
最近更新
2025年8月11日
需要 WordPress 6.7+已测试到 6.8.13PHP 8.0+

贡献者

This plugin enhances Gravity Forms by providing the ability to export individual form entries as a .json file directly from the entries list. It allows you to define a custom JSON structure using a template editor within each form’s settings, where you can insert Gravity Forms merge tags and even utilize conditional logic shortcodes. A live preview feature helps you validate your JSON template before export.

Instructions

  1. Activate the plugin.
  2. Go to Forms > Forms, then select ‘Settings’ for the desired form.
  3. Click on the ‘JSON Export’ tab.
  4. Enable JSON Export Link: Check the box to display the “Download JSON Export” link on individual entry pages for this form.
  5. Custom JSON Output Template: Enter your desired JSON structure in the textarea.
    • Use standard Gravity Forms merge tags (e.g., {field_id}, {entry_id}, {date_created:format:Y-m-d}).
    • Merge tags will be automatically formatted as "key":"{merge_tag}" when inserted from the dropdown.
    • You can also use Gravity Forms conditional shortcodes (e.g., [gravityforms action='conditional' merge_tag='{Name (First):1.3}' condition='isnot' value='Philip']"custom_field":"conditional_value"[/gravityforms]) to include dynamic content.
  6. Preview JSON Export: Click the ‘Preview JSON Export’ button to see a live preview of your generated JSON based on the latest entry for that form. This helps in validating your template.
  7. Save Settings: Click ‘Save Settings’ to apply your changes.
  8. To export an entry, go to Forms > Entries, hover over an entry, and click the ‘Download JSON Export’ link.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums