Gravity Wiz Weekly 248

We’ve whipped up some powerful new hooks! Plus, a new snippet for exhausted inventory, community highlights, compatibility improvements, and other forms of sorcery.

Greetings, wizards!

Welcome to December. Our final chance to squeeze the last bit of juice out of 2024. And it will be juicy! 🍋

Mark your calendars for December 17th. 😉

Until then, we’ve got plenty of updates to quench your curiosity in this week’s zesty newsletter. Give it a squeeze! 🧃

Highlight: Get Hooked!

We’re staying true to our commitment to building highly extensible products. To that end, we added two powerful hooks this week that are worth highlighting.

GP Advanced Calculations: Performance Hack

Did you know Gravity Forms processes calculations for calculation fields even when they are hidden via conditional logic? They’re not saved on submission but they’re still calculated on the frontend.

If you’re beefing your calculations up with Advanced Calculations, we’ve added the gpac_should_process_calculation filter to allow you to disable processing calculations on conditionally hidden fields. This filter can give your calculation-stuffed forms some significant performance gains! 💪

GP Advanced Save & Continue: Complete Markup Control

Advanced Save & Continue provides delightfully flexible draft management, allowing users to save, view, and resume previous drafts with ease.

This week, we added the gpasc_draft_markup filter to give you, the form builder, complete control over the markup of the draft management UI. Sky’s the limit! ☁️

Gravity Forms 2.9: Compatibility Improvements

Our adventurous customers are loving Gravity Forms 2.9 and finding all sorts of ways for us to improve Gravity Perks’ compatibility with this milestone release.

If you’re using GP Conditional Pricing, GP eCommerce Fields, or GP Page Transitions, make sure to update to the latest versions as we’ve implemented a multitude of compatibility improvements this week.

Full details in the changelog.

Spotlight: Building an Award Nomination System using Gravity Forms


The Butler Trust Awards honors and celebrates community members doing extraordinary work, while often going unnoticed. Ash Whitney from Wired Up Wales works with Butler Trust, and was tasked with digitizing their award nomination process.

As Ash told us, prior to establishing an award nomination system, Butler Trust’s nomination process “literally involved 150+ hours each year manually entering nominations to an Access DB” so it’s fair to see why they needed to create some efficiency.

An award nomination system can be complex in nature, involving multiple people and sign-offs for a single nominee. With no real out-of-the-box solutions to manage such a use case, Ash turned to Gravity Forms and Gravity Wiz.

The form itself is worthy of an award — and sheds a bright light on the old adage that you truly can transform Gravity Forms into anything.

Just Launched: Gravity Builder AI

Tom Whitaker (of WP GraphQL for Gravity Forms fame) and his team just launched a new product in the Gravity Forms ecosystem. It’s called Gravity Builder AI and it lets you build forms at the speed of… AI. 🤖

The feature I’m most excited about is its ability to take a real-world PDF form and generate a fully functional GF form, complete with conditional logic and translatable into any language. 🤯

Here’s a sweet demo of what that looks like in action:

If you like what you see and you want to give it a try, you can get 15% off your first year with WIZ15 at checkout.

New Snippet: Exhausted Inventory Threshold

You already know GP Inventory is the easiest, most flexible way to manage inventory within your forms. And you definitely know we love writing snippets to help our customers achieve their unique project requirements.

So you won’t be surprised we did just that this week for a Pro customer who wanted to disable all choices in a GPI-enabled field when 4 of their 7 choices’ inventories were exhausted.

Two things I love about this snippet. First, we got to help a customer. Duh. Second, GPI is so flexible, customizations like this don’t require very much custom code at all.

Product Updates

Gravity Perks

Gravity Perks (v2.3.13)

  • Updated requirement checking logic to be simpler and to not load translations too early.

GP Advanced Calculations (v1.1.8)

  • Added gpac_should_process_calculation JS filter hook that can be used to conditionally disable processing formulas. This can be used in snippets to increase performance of complex calculation forms.

GP Advanced Save and Continue (v1.0.28)

  • Added gpasc_draft_markup PHP filter hook.
  • Fixed regression causing Advanced Save & Continue’s assets to be loaded on forms even if Save and Continue is disabled.

GP Advanced Select (v1.1.10)

  • Fixed styling issue of “Continue” button if using Advanced Select with GF Conversational Forms.

GP Conditional Pricing (v2.0.13)

  • Improved compatibility with Gravity Forms 2.9’s new Image Choice field.

GP eCommerce Fields (v1.2.30)

  • Fixed compatibility issue with Gravity Forms 2.9 where conditional logic changes would not update the total if using fields like the Tax field.

GP Entry Blocks (1.0-beta-2.4)

  • Fixed file deletion in multi-file upload fields when editing did not actually delete the files from the file system.

GP Limit Checkboxes (v1.3.16)

GP Limit Submissions (v1.1.20)

  • Improved handling of rules using hidden fields in addition to visible fields. This addresses an issue where the form would not allow submission in some situations.

GP Nested Forms (v1.1.70)

  • Added check in GP_Nested_Forms::get_child_entry_ids_from_value() to prevent errors if a non-string value is passed.

GP Page Transitions (v1.0.33)

  • Improved compatibility with Gravity Forms 2.9.

GP Post Content Merge (v1.3.18)

  • Fixed regression that could cause a PHP warning.

GP Read Only (v1.9.26)

  • Fixed a PHP error that could occur in the Form Editor preventing duplication of read-only fields.

Gravity Connect

GC Airtable (1.0-beta-1.1)

GC Google Sheets (v1.3.13)

  • Added support for new Feed History capabilities of the Gravity Connect Framework. This adds a button to the Entry Details meta box to view more information about scheduled feed actions and related HTTP requests. Logs are stored in the wp_gravity_connect_feed_logs table and are retained for 14 days by default. Disable logging with add_filter( 'gcgs_feed_logging_enabled', '__return_false' );.
  • Fixed issue with cached sheets where sometimes the first sheet in a spreadsheet would be incorrectly used in place of the correct sheet.
  • Fixed cache not being used with Reader::metadata_field_map() if an empty array is stored.

GC Notion (1.0-beta-1.10)

  • Added ability to add a Notion page icon via the gcn_notion_page_data filter.
  • Added support for new Feed History capabilities of the Gravity Connect Framework. This adds a button to the Entry Details meta box to view more information about scheduled feed actions and related HTTP requests. Logs are stored in the wp_gravity_connect_feed_logs table and are retained for 14 days by default. Disable logging with add_filter( 'gcn_feed_logging_enabled', '__return_false' );.
  • Added custom Notion API client to replace auto-generated client. The new client utilizes WordPress’ HTTP API.
  • Fixed issue with undefined constant if Feed Notion account has been deleted.
  • Updated default request timeout for Notion HTTP requests to 10 seconds.

Gravity Shop

GS Product Configurator (1.0-beta-2.22)

  • Fixed issue where using anti-spam honeypot or reCAPTCHA in a product’s attached form would prevent it from adding to the cart.

Free Plugins

GF Feed Forge (v1.1.0)

  • Improved handling of processing thousands of entries by adding a batcher which splits up queuing into multiple requests and shows a progress bar.

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.

"I unsubscribe from every newsletter I get except yours."

Join 25,000 readers and be the first to know of legendary discounts, new releases, free snippets, and other secret sorcery!