Check out our growing library of code snippets for Gravity Forms!
GOAL Adds category slugs as CSS classes to the body tag on single posts and category archives, enabling category-specific styling …
GOAL By default this code snippet automatically converts the value of a specific text field to uppercase before saving the …
GOAL This code snippet ensures that the sum of all child entries in a Gravity Forms nested form does not …
This code snippet ensures that GravityView links correctly navigate back to the appropriate tab when using tabbed navigation (such as …
GOAL Creates a real-time countdown timer displaying days, hours, minutes, and seconds until a specified date. Uses WordPress timezone settings …
This code snippet creates a custom {user_role} merge tag for Gravity Forms. It dynamically retrieves the current user's WordPress role(s) …
GOAL Creates a tabbed interface by parsing nested div structures into clickable tabs with associated content panels. Supports nested shortcodes …
This JavaScript snippet disables dropdown choices in a Gravity Forms nested form to prevent duplicate selections across child entries within …
GOAL Allows editing of pricing fields in the Gravity Flow inbox entry view, replacing the usual "Pricing fields are not …
This code snippet ensures that child form submissions in Gravity Forms do not exceed the available balance recorded in a …
This code snippet ensures that a single form submission in Gravity Forms does not exceed the available balance recorded in …
GOAL Use the simple shortcode [export_filtered_entries] to render a button that triggers a CSV download of the entire GravityView dataset matching …
This code snippet adds an "Export Forms as Text" feature to Gravity Forms, allowing administrators to export form structures, confirmations, …
When Gravity Flow Form Connector creates a new entry, ensure multi‑file upload values are arrays (not JSON strings). Decodes JSON …
This snippet has been upgraded to a plugin for easier management and additional functionality. The plugin version also allows creating …
GFSearch This snippet has been replaced with a plugin version.
GOAL Adds a custom Gravity Flow step type that generates Gravity Forms Coupons dynamically during a workflow. Provides full UI …
GOAL Adds "Export Layout" button to Gravity Forms editor that exports form structure as formatted HTML table to clipboard. Includes …
GOAL Creates a visual progress meter that calculates the sum of a specific numeric field from Gravity Forms entries and …
GOAL Creates a responsive image carousel with navigation arrows, dots, touch/swipe support, and modal lightbox for full-size image viewing. Accepts …
GOAL Creates a mobile-friendly accordion component that parses nested divs into collapsible sections. Supports nested shortcodes and allows only one section …
GOAL Prevents duplicate submissions when a specific combination of fields (Name, Number, Date) matches an existing active entry. If a …
GOAL When using Nested Forms, prevent duplicate values across multiple child entries in the same batch/session for specific fields you …
GOAL This JavaScript snippet prompts users with a confirmation message before submitting a Gravity Form when they select a specific radio button …