Description
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
- Activate the plugin.
- Go to Forms > Forms, then select ‘Settings’ for the desired form.
- Click on the ‘JSON Export’ tab.
- Enable JSON Export Link: Check the box to display the “Download JSON Export” link on individual entry pages for this form.
- 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.
- Use standard Gravity Forms merge tags (e.g.,
- 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.
- Save Settings: Click ‘Save Settings’ to apply your changes.
- To export an entry, go to Forms > Entries, hover over an entry, and click the ‘Download JSON Export’ link.
Installation
- Upload the
custom-json-export-for-gravity-formsfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- After activation, navigate to Forms > Forms, hover over a form, and click ‘Settings’. You will find a new ‘JSON Export’ tab where you can configure the export options and custom JSON template for that specific form.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Custom JSON Export for Gravity Forms” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Custom JSON Export for Gravity Forms” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
**2025-07-24 v2.27
* Initial stable release.
* Added custom JSON template editor with merge tag insertion.
* Implemented live JSON preview based on the latest entry.
* Added conditional logic shortcode support within templates.
* Option to enable/disable JSON export link per form.
* Added ‘JSON Export’ meta box to individual entry detail pages for direct download.