BrightLeaf Digital Code Snippet Library

Check out our growing library of code snippets for Gravity Forms!

Eleven of these snippets register their own shortcodes. Every tag and attribute is in our Gravity Forms shortcodes reference. Need a Gravity Forms or GravityView shortcode built for you? Try the free shortcode builder.

Field Dependency Heatmap

Goal

  • Provide a visual representation of field dependencies in the Gravity Forms editor.
  • Make it easy to see where a field is used in conditional logic, calculations, and notifications.
  • Give form editors a way to quickly audit references without opening every field or setting.

Requirements

  • User must have 'gform_full_access' capability.

Features

  • Color-coded badges for different reference types (conditional logic, calculations, notifications).
  • Interactive modal showing exactly which rules, formulas, or notifications refer to a field.
  • Automatic updates after AJAX saves (no page reload needed) using Gravity Forms action hooks.
  • Integration with Gravity Wiz's inline field ID pills, with a clean fallback for standard labels.
  • Real-time badge rendering as fields are added or modified in the editor via MutationObserver.
Install Using Code Snippets

This code is best installed directly on your site using the Code Snippets plugin.

Check Out the Code

Loading...

Code Copied!
Stay Updated On This Snippet

This entry has no reviews.

Discuss or report a problem with this snippet

Post in Snippets & Custom Code with the snippet name and a link to this page.