=== GravityEdit ===
Tags: gravity forms, inline edit, gravityview
Requires at least: 5.1
Tested up to: 6.9.1
Contributors: The GravityKit Team
License: GPL 2
Requires PHP: 7.2.0

Easily edit your Gravity Forms field values without having to go to the Edit Entry screen.

== Description ==

Inline Editing is a powerful way to quickly make changes to a form entry without needing to enter an Edit Entry form individually. [Learn more about the plugin](https://www.gravitykit.com/products/gravityview-inline-edit/).

== Installation ==

1. Upload plugin files to your plugins folder, or install using WordPress' built-in Add New Plugin installer
2. Activate the plugin
3. Set your license key

== Changelog ==

= 2.9.2 on March 5, 2026 =

This release fixes inline editing of dynamically populated choice fields, such as those using GP Populate Anything.

#### 🐛 Fixed
* Multiple issues with inline editing of dynamically populated choice fields (e.g., via GP Populate Anything):
  - Checkbox values were wiped or corrupted when saving;
  - Editing an unrelated field in the same entry corrupted checkbox values;
  - Choice labels were replaced with raw IDs/values after saving;
  - Select fields displayed raw values instead of labels.

= 2.9.1 on February 26, 2026 =

This release fixes inline editing issues affecting Email and Dynamic Lookup fields.

#### 🐛 Fixed
* Inline editing always showing a "Your emails do not match" error for Email fields with confirmation enabled.
* Dynamic Lookup field values not visually updating after inline editing until the page was refreshed.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.11.0.

= 2.9.0 on February 12, 2026 =

This update lets you control whether DataTables refreshes after saving inline edits, and resolves issues with Single Entry lightbox, Custom Content field links, and session handling.

#### 🚀 Added
* View editor setting to control whether the DataTables table automatically refreshes after saving an inline edit.

#### 🐛 Fixed
* JavaScript error ("View ID is undefined when setting initial state") when viewing a single entry in a GravityView lightbox.
* Links in Custom Content fields were not clickable when inline edit mode was active.
* Inline edits failing silently when the user's session expired, causing changes to appear saved but revert on page reload.

#### 💻 Developer Updates
* Added `gk.datatables.inline-edit.refresh` JavaScript filter to override whether the DataTables table refreshes after an inline edit save.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.10.0.

= 2.8.0 on January 22, 2026 =

This release improves the inline editing experience for DataTables users.

#### ✨ Improved
* Views using the [DataTables](https://www.gravitykit.com/products/datatables/) layout now refresh immediately after inline editing.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.7.2.

= 2.7.1 on January 15, 2026 =

This update fixes incorrect display of the Image Choices field and Entry Tags field editing on the Entries page.

#### 🐛 Fixed
* Image Choices field incorrectly displaying images for choices with empty values.
* [Gravity Forms Entry Tags](https://www.gravitykit.com/products/gravity-forms-entry-tags/) field editing not working on the Entries page.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.7.1.

= 2.7.0 on December 4, 2025 =

This release adds the ability to edit survey responses.

#### 🚀 Added
* Support for editing Gravity Forms Survey Add-On fields (Likert, Rating, Rank, etc.)

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.7.0.

= 2.6.0 on October 16, 2025 =

This update adds support for the Multiple Choice field and fixes unintended HTML markup in exported entries.

#### 🚀 Added
* Support for editing Multiple Choice field values (Gravity Forms 2.9+).

#### 🐛 Fixed
* Field values were wrapped in GravityEdit-specific HTML markup when exporting View entries using the Export widget.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.6.0.

= 2.5.1 on September 11, 2025 =

This update fixes broken thumbnails after file uploads and a possible fatal error triggered when a View has an Entry Tags field without the required plugin active.

#### 🐛 Fixed
* Cache not clearing after file uploads, which caused broken thumbnails on refresh.
* Fatal error when inline editing was active on a View with an Entry Tags field and the [Gravity Forms Entry Tags](https://www.gravitykit.com/products/gravity-forms-entry-tags/) plugin was not active.

#### 💻 Developer Updates
* Removed early `is_user_logged_in()` return to allow for the `gravityview/capabilities/allow_logged_out` and `gravityview/edit_entry/user_can_edit_entry` filters to be applied when checking whether inline editing is enabled on the frontend.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.3.1:
  - New GravityKit global settings for logging configuration (level, type, cleanup schedule, retention);
  - A unified way to display admin notices across all GravityKit products;
  - Performance improvements and bug fixes.

= 2.5.0 on August 28, 2025 =

This release introduces a warning when file uploads may overwrite existing files and resolves several conflicts and display issues.

#### ✨ Improved
* A warning is displayed when uploading files may overwrite existing ones.

#### 🐛 Fixed
* Conflict with GravityActions that prevented updating entry's creator on the Gravity Forms Entries pages.
* Popover positioning issue when editing Created By field values.
* Display issues on the Gravity Forms Entries page when GravityEdit is enabled.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.3.1:
  - New GravityKit global settings for logging configuration (level, type, cleanup schedule, retention);
  - A unified way to display admin notices across all GravityKit products;
  - Performance improvements and bug fixes.

= 2.4.0 on July 24, 2025 =

This release adds inline editing support for the [Gravity Forms Dynamic Lookup](https://www.gravitykit.com/products/gravity-forms-dynamic-lookup/) extension and resolves multiple issues with Select and Checkboxes fields.

#### 🚀 Added
* Support for inline editing of Gravity Forms Dynamic Lookup fields across all three types (dropdown, radio and checkbox).

#### 🐛 Fixed
* Multiple issues with Select and Checkboxes fields after inline editing:
  - Fields now properly display labels or values based on the View configuration;
  - Entry links are preserved after editing;
  - Checkboxes fields with empty values now show "Empty" text with proper styling when inline editing is enabled;
  - Checkboxes fields properly restore original content when inline editing is disabled.
* Date picker now respects WordPress's "Week Starts On" setting instead of always starting on Monday.

= 2.3.0 on June 9, 2025 =

This release introduces inline editing for Image Choice fields and resolves issues with duplicate dropdown placeholders and PHP notices.

#### 🚀 Added
* Support for the Image Choice field inline editing.

#### 🐛 Fixed
* Placeholder text in Drop Down fields is no longer duplicated when form field values are updated.
* PHP notice in WordPress 6.8 caused by initializing product translations too early.
* PHP deprecation notice related to the use of `gform_form_settings` filter.

#### 🔄 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.25.

= 2.2.0 on March 13, 2025 =

This update lets you reset a Drop Down field’s selection via a placeholder.

#### ✨ Improved
* The Drop Down field now displays a placeholder that can be used to clear the selected value.

#### 🔄 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.23.

= 2.1.2 on November 21, 2024 =

This hotfix update addresses a non-critical PHP notice in WordPress 6.7 and newer.

#### 🐛 Fixed
* PHP notice in WordPress 6.7 caused by initializing product translations too early.

#### 🔄 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.21.

= 2.1.1 on October 1, 2024 =

This update resolves issues with the DIY Layout and inline editing on the Entries page.

#### 🐛 Fixed
* Enabling inline editing caused DIY Layout markup to render incorrectly, resulting in empty values when editing fields.
* Checkbox fields were not editable on the Entries page when more than 10 field choices were displayed as table columns.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) and [TrustedLogin](https://www.trustedlogin.com/) to versions 1.2.18 and 1.9.0, respectively.

= 2.1.0 on August 16, 2024 =

This release introduces support for the Gravity Forms Entry Tags plugin and resolves PHP 8.2 deprecation notices.

#### 🚀 Added
* Support for the [Gravity Forms Entry Tags](https://www.gravitykit.com/products/gravity-forms-entry-tags/) plugin (requires version 1.1.0 or newer).

#### 🐛 Fixed
* PHP 8.2 deprecation notices.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) and [TrustedLogin](https://www.trustedlogin.com/) to versions 1.2.17 and 1.8.0, respectively.

#### 💻 Developer Updates
* Added `gk/gravityedit/field-updated` JavaScript hook, which fires on the document when a field is updated.

= 2.0.3 on October 31, 2023 =

* Improved: Support for fields configured with the ["No Duplicates" field setting](https://docs.gravityforms.com/common-field-settings/#h-no-duplicates) in Gravity Forms
* Fixed: Edits were not reflected in GravityView for Views using the DataTables layout with the "Responsive Tables" setting enabled
* Fixed: Bug that prevented editing when more than one View was embedded on the same page
* Fixed: After editing a checkbox field set to display the label, the value would be displayed
* Fixed: An error occurring when saving a Number field configured in the form with a "," decimal separator
* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.5

= 2.0.2 on September 7, 2023 =

* Improved: Support for RTL languages
* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.2

= 2.0.1 on July 12, 2023 =

* Fixed: HTML markup being included when exporting View entries to CSV/TSV
* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.1.1

= 2.0 on May 11, 2023 =

* Fixed: File uploads were being saved to the WordPress upload directory, not the Gravity Forms uploads directory
* Fixed: When Inline Edit was enabled for a View, multi-file upload fields were not rendering properly
* Fixed: Speed issues related to GravityView, even when inline editing was disabled for a View
* Fixed: Incompatibility with some plugins/themes that use Laravel components
* Fixed: Removed active call to deprecated method.
* Improved: Enhanced performance when used in conjunction with Gravity Forms Populate Anything by Gravity Wiz

__Developer Updates:__

**The version includes API-incompatible changes:**

* The GravityView integration now uses GravityView's `\GV\Template_Context` instead of `GravityView_frontend::getInstance()`
* Uses GV 2.0 actions (`gravityview/template/header` instead of `gravityview_header`) and filters (`gravityview/template/field/output` instead of `gravityview_field_entry_value`)
* Adds `$context` parameter to `gravityview-inline-edit/wrapper-attributes` and `gravityview-inline-edit/{field-type}-wrapper-attributes` filters
* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.0.12

= 1.8.5 on April 5, 2023 =

* Fixed: Potential fatal error when activating GravityView after GravityEdit
* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.0.11

= 1.8.4 on February 20, 2023 =

**Note: GravityEdit now requires PHP 7.2 or newer**

* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.0.9

= 1.8.3 on February 13, 2023 =

* Fixed: Compatibility with [GP Google Sheets by Gravity Wiz](https://gravitywiz.com/documentation/gravity-forms-google-sheets/?ref=263)
* Updated: [Foundation](https://www.gravitykit.com/foundation/)

= 1.8.2 on January 5, 2023 =

* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.0.8

= 1.8.1 on December 21, 2022 =

* Fixed: PHP 8.1 notices
* Fixed: Fatal error on some hosts due to a conflict with one of the plugin dependencies (psr/log)
* Fixed: It was not possible to remove an expired license key

= 1.8 on November 30, 2022 =

* Added: You can now inline edit File Upload fields! (Including support for multiple files)
* Added: Support for editing entry metadata (Created By, Date Created, Payment Date, etc.)
* Added: Support for the Gravity Forms User Registration Add-On (When entry details are changed, changes will be made to the User profile)
* Improved: Styling of the form
* Fixed: Time field AM/PM inputs were not showing
* Fixed: Time, Number, Website, and Product fields with User-Defined Price were not updating correctly
* Fixed: Datepicker appearance

= 1.7.3 on November 14, 2022 =

* Fixed: Fatal error when loading plugin translations
* Fixed: Slow loading times on some hosts
* Fixed: Plugin failing to install on some hosts

= 1.7.2 on November 3, 2022 =

* Fixed: Fatal error when editing Number fields with calculations

= 1.7.1 on October 31, 2022 =

* Improved: Clicking on a column header to edit all fields in a column no longer requires submitting changes; changes are saved when leaving the input
* Fixed: Plugin was not appearing in the "Add-Ons" section of the Gravity Forms System Status page

= 1.7.0.2 on October 20, 2022 =

* Fixed: Potential error when the plugin tries to log an unsuccessful operation

= 1.7.0.1 on October 19, 2022 =

* Fixed: Error when trying to activate license keys

= 1.7 on October 19, 2022 =

* Added: New WordPress admin menu where you can now centrally manage all your GravityKit product licenses and settings ([learn more about the new GravityKit menu](https://www.gravitykit.com/foundation/))
    - Go to the WordPress sidebar and check out the GravityKit menu!
    - We have automatically migrated your existing GravityEdit license, which was previously entered in the Gravity Forms settings page
    - Request support using the "Grant Support Access" menu item
* Added: Live-update all calculations that rely on a number field (instead of just one)
* Added: GravityEdit icon to the Gravity Forms settings screen
* Improved: Typography and editor size for textarea fields
* Improved: Submit/Cancel button alignment is much nicer and more consistent
* Improved: Reduced number of database queries when loading GravityEdit functionality
* Fixed: Popup width was set to 100%, making it unusable in certain contexts
* Fixed: Fatal error when inline-editing an address field if GravityView is not active
* Fixed: PHP warnings when editing a Name field without the Prefix input

= 1.6 on July 28, 2022 =

* [GravityView (the company) is now GravityKit](https://www.gravitykit.com/rebrand/) and this plugin is now called GravityEdit!
* Fixed: List field editing did not work in Gravity Forms 2.5 or newer
* Added: Support for Gravity Wiz's Populate Anything and other extensions modifying form field values
* Added: Support for field calculations

__Developer Updates:__

**IMPORTANT: `GRAVITYVIEW_INLINE_*` constants were renamed to `GRAVITYEDIT_*` and future plugin versions will see similar name changes to namespaces, class names, and hooks**

= 1.5 on January 26, 2022 =

* Added: GravityView field setting to disable Inline Edit for a field ([read how set this up](https://docs.gravitykit.com/article/826-how-to-enable-or-disable-inline-edit-per-field))
* Added: Support for creating entry revisions after each edit (requires the [Gravity Forms Entry Revisions](https://www.gravitykit.com/products/entry-revisions/) add-on Version 1.1 or newer)
* Improved: Made the input sizes larger when using "Popup" Inline Edit Mode
* Improved: Display of Inline Edit settings in Gravity Forms 2.5+
* Updated: Polish translation (thanks, Dariusz!) and German translation (thanks, Michael!)

__Developer Updates:__

* Renamed `GravityView_Inline_Edit_GravityView::add_to_blacklist()` to `GravityView_Inline_Edit_GravityView::add_to_blocklist()`

= 1.4.4 on November 9, 2021 =

* Fixed: Inline Edit would not work in DataTables View when using a responsive mode. Requires DataTables 2.5 or newer.

= 1.4.3 on August 26, 2021 =

* Improved: The Inline Edit button no longer makes the page adjust on load on the Gravity Forms "Entries" screen
* Improved: The appearance when editing checkboxes in Gravity Forms 2.5
* Fixed: Single checkbox items would not be editable on the "Entries" screen in Gravity Forms 2.5
* Fixed: `de` German translations were unreachable; strings were merged with `de_DE`. Thanks again for the translations, Michael!

__Developer Updates:__

* Modified: Escaped the `style` attribute output in `templates/toggle.php`

= 1.4.2 on June 1, 2021 =

* Fixed: License field missing when running Gravity Forms 2.5

= 1.4.1 on April 12, 2021 =

* Fixed: Editing the Country/State/Province input of an Address field did not work
* Fixed: Fields that weren't editable were removed from the View rather than being disabled
* Fixed: Editing a Paragraph Text field did not respect the "allow HTML" View setting

= 1.4 on April 1, 2021 =

* Added: Support for Product field (User-Defined Price only)
* Fixed: Multi-input fields (e.g., Name) marked as required would fail validation when attempting to update them
* Fixed: Updating a single checkbox choice would reset other choices
* Fixed: Updating fields linking to a single entry would remove the hyperlink and reset the field value
* Fixed: It was possible to clear all checkbox choices for fields marked as required
* Fixed: Inline Edit would initialize with incorrect data when including multiple list fields in the View
* Fixed: Output formatting for certain field types would change after an update
* Fixed: Currency symbol would disappear when updating a number field
* Improved: Links to single entry are not disabled when Inline Edit is activated
* Improved: Inline Edit no longer prevents configuring visible columns on the Gravity Forms Entries screen
* Improved: Shows a message when a form or View does not have any editable fields visible
* Updated: German translation (thanks, Michael!), Russian translation (thanks, Irina!), and Chinese translation (thanks, Edi!)

= 1.3.3 on January 11, 2021 =

* Improved: If there are no entries, hide the Inline Edit button
* Improved: Don't register a bundled jQuery Cookie script if others are in use
* Fixed: Unable to override the default "Empty" string translation
* Fixed: "Enable Inline Edit" toggle would not work with the DataTables layout
* Fixed: Clicking the Inline Edit button would enable, then immediately disable, inline editing

= 1.3.2 on December 5, 2019 =

Lots of bug fixes!

* Fixed: Editing multi-column List fields
* Fixed: Duplicate "Other" radio button inputs
* Fixed: "Other" input field can't be updated if it's already selected
* Fixed: Update and Cancel buttons not appearing
* Fixed: Inline edit mode could get "stuck" on or off
* Fixed: Set `date_updated` entry property when updating entry
* Fixed: When activating column editing by clicking a field's column header in Gravity Forms, the page no longer scrolls to the last row
* Fixed: In GravityView, when Inline Editing is activated for a View using a DataTables layout, the Approval field popup does not render
* Fixed: In GravityView, after editing a field that links to a single entry, the link would be removed
* Fixed: Performance issue
* Updated: French translation, Russian translation (thanks, Viktor S!), and Turkish translation (thanks, Süha Karalar)

__Developer Updates:__

* Added: `$output` attribute to `gravityview-inline-edit/wrapper-attributes` filter

= 1.3.1 on October 3, 2018 =

* Fixed: Wrapper HTML was still added to a View when Inline Edit was not enabled for it
* Fixed: Certain field types not working when using Inline Edit with GravityView DataTables layout
* Improved: Reduced number of calls to the database
* Improved: Always show when an update is available, even if the license is not entered
* Translated into Polish by @dariusz.zielonka

= 1.3 on July 3, 2018 =

* Added: Support for using Inline Edit with [GravityView DataTables](https://www.gravitykit.com/products/datatables/)! Requires Version 2.3+ of the DataTables extension.

__Developer Updates:__

* Added: `gravityview-inline-edit/init` jQuery trigger to `window` when Inline Edit is initialized
* Added: Pass Form ID or View ID information when enqueuing scripts and styles via `gravityview-inline-edit/enqueue-(styles|scripts)`

= 1.2.6 on May 10, 2018 =

* Fixed: Inline Editing not appearing for Views when running GravityView 2.0
* Tweak: Namespaced our Bootstrap script to avoid conflicts with themes or plugins

= 1.2.4 and 1.2.5 on May 9, 2018 =

* Fixed: Error on Gravity Forms Entries screen when running GravityView 2.0
* Fixed: Settings not showing in GravityView 2.0
* Fixed: Error when running PHP 5.2.4
* Updated: Turkish, Spanish, and Dutch translations (thank you!)

= 1.2.3.1 on April 16, 2018 =

* Added: "Empty" translation string
* Updated: Spanish and Dutch (Thank you, Alejandro Bernuy and Erik van Beek!)

= 1.2.3 on March 12, 2018 =

* Fixed: Submit/Canel buttons not displaying when multiple Views embedded on a page

= 1.2.2 on December 5, 2017 =

* Fixed: Inline Edit now displays "Toggle Inline Edit" for each View embedded on a page
* Fixed: Hitting return key would not always submit inline Name fields

= 1.2.1 on November 21, 2017 =

* Fixed: Saving plugin settings
* Fixed: Using a GravityView Galactic license key now works to activate Inline Edit

= 1.2 on November 20, 2017 =

* Fixed: Editing by entry creator now works in GravityView
* Fixed: Editing empty checkboxes in Gravity Forms
* Updated translations. Thanks Erik van Beek (Dutch) and Juan Pedro (Spanish)!
* GravityView functionality now requires GravityView 1.22 or newer

= 1.1.4 on November 13, 2017 =

* Fixed: Fatal error when Gravity Forms not activated

= 1.1.3.2 on October 26, 2017 =

* Fixed: Toggling editing in GravityView does not work

= 1.1.3.1 on October 19, 2017 =

* Fixed: Potential fatal error when entry does not exist

= 1.1.3 on October 18, 2017 =

* Fixed: Conflict with "Hide Empty Fields" setting in GravityView. Field values were being wrapped with Inline Edit HTML, even if Inline Edit was disabled.
* Fixed: Users who created entries were not able to edit them in GravityView using Inline Edit
* Improved future Gravity Forms 2.3 support

= 1.1.2 on September 5, 2017 =

* Added: Support for Gravity Forms 2.3
* Fixed: "Toggle Inline Edit" link not working for some embedded Views

= 1.1.1 on August 25, 2017 =

* Fixed: Fatal error when Gravity Forms not active

= 1.1 on August 21, 2017 =

* Changed: Edit Entry and Delete Entry are now clickable while Inline Edit is enabled
* Fixed: Show that calculated fields are not editable
* Fixed: CSS selector was added to the View container, whether or not Inline Edit was enabled for the View
* Developers: Added `$original_entry` fourth parameter to the `gravityview-inline-edit/entry-updated` and `gravityview-inline-edit/entry-updated/{$type}`filters

= 1.0.3 on July 18, 2017 =

* Fixed: [Gravity Forms Import Entries plugin](https://www.gravitykit.com/products/gravity-forms-entry-importer/) not able to upload files when active

= 1.0.2 on July 18, 2017 =

* Fixed: Clear GravityView cache when entry values are updated

= 1.0.1 =

* Fixed: "Toggle Inline Edit" not working in the Dashboard on non-English sites
* Fixed: If there were multiple fields of the same type with different configurations, one field would override the others. Affected radio, multiselect, address, checkbox, name fields.

= 1.0 =

- Blastoff!
