Gravity Wiz Weekly #179

Our most feature-packed weekly this year!? See what’s new for Populate Anything, Email Users, Inventory, Nested Forms, and more.

gravity wiz weekly

Greetings, wizards! 

I hope everyone had a lovely Valentine’s Day. 🥰

Even if it’s not a holiday you celebrate, you may still enjoy this poem I wrote for you.

Roses are red,
Violets are blue,
We hope you love updates,
As much as we do. ❤️

…because, uhh, we have a lot of updates for you. 😅

Email Users: Auto-formatting, Auto-schmorfatting.

If you’re sending HTML-heavy emails with this much-cheaper-and-easier-to-use-than-a-CRM plugin, you’re going to really appreciate the simple feature we added this week…

You can now disable auto-formatting with the click of a checkbox. No more auto-inserted paragraph breaks in the middle of your carefully formatted HTML!

email users disable auto formatting

Entry Blocks: Duplicate Entries

This sleeping giant mastered the spell of duplication this week. Just enable the new “Duplicate Entry” summary column on the Entries Table block and the duplicate entry link will magically appear.

Starting from scratch is for muggles. Duplicate an entry as a starting point and edit just the fields you need.

duplicate entries on the front end gravity forms

Oh, and if you’d prefer to redirect directly to the edit view for the duplicated entry, we’ve already got a snippet for that. 😉

Inventory: Shortcode Support

GP Inventory provides a number of custom messages that are displayed contextually like the amount of inventory available, when there is insufficient inventory, or when the inventory is completely exhausted.

A Pro customer shared an awesome use case with us this week. He wanted to display a waitlist form when his single product form’s inventory was exhausted.

We added support for using shortcodes so he could use the [ gravityform ] shortcode in the Exhausted Inventory message to display his waitlist form when the inventory was exhausted. Magic! 🪄

gravity forms inventory shortcodes

Nested Forms: Easier Templating

Nested Forms has some incredible templating functionality but as WordPress has moved farther and farther away from traditional themes, it’s become more and more difficult for y’all to take advantage of it.

This week, we introduced a quiet but powerful new filter that will allow you to modify or provide your own markup for any Nested Forms template by crafting a simple snippet.

What does this mean in a practical sense? No more copying template files into a special folder in your theme’s root (unless you want to). Just craft or copy a simple snippet (like this one), include it with your favorite snippet manager, and you’re done.

gravity forms nested forms templates

PS – See how that sample snippet modifies the `nested-entries.php` template to hide the Entries Table until at least one entry has been added? Cool, right!?

Populate Anything: Results Preview Buff

A hot little quality-of-life improvement for you here. Previously, when populating an array of data into a field, the Results Preview just showed a super helpful “Array” value. 😜

Now you’ll see the actual array data (in a JSON format) that is actually helpful. 🙌

populate anything results preview

Workshop V: Unleash GF OpenAI

We’re just two weeks away from our most popular workshop yet (as measured by signups)! If you’re down for a deep dive into the power that AI can bring to your forms, you do not want to miss this live session.

New Resources

Progress Meter | Filter Count by Field Value & Date Range

Our user-friendly Progress Meter plugin for Gravity Forms makes adding a progress meter to track your progress toward any submission-based goal (like volunteer signups or a donation form) a breeze. 

This week, we crafted a sample snippet that demonstrates how to only count specific field values toward your meter. For example, if you had a goal of getting 10 Gold sponsors and 5 Platinum sponsors, you could display separate progress meters for each goal, filtered by which sponsorship level was selected.

gravity forms progress meter

Modifier Madness | Sentence Modifier for Multi-value Fields

Do you have a field that allows multiple selections like a Checkbox or Multi Select field? Do you want to display the selected values in your confirmation, notifications, or PDFs in the context of a sentence? Then, boy, do we have a snippet for you!

Use the :sentence modifier on Checkbox and Multi Select fields to display the selected values like, “{David, Clay, and Scott} have been registered for the big event” rather than “{David, Clay, Scott} have been registered for the big event.” 

Yeah, it’s a small touch but little details can make a big difference. 

Address Autocomplete | Satellite View for the Map Field

Did you know Address Autocomplete provides a beautiful Map field to help users visualize the entered address? It’s an easy way for them to confirm the address is correct and it just looks so good.

This week, we had a user who wanted to show the map in satellite view. So… we wrote a snippet. 😂

Gravity Perks

GP Blocklist (v1.3.6)

  • Fixed regression with honeypot functionality not working as intended.

GP Email Users (v2.0.3)

  • Added Disable Auto Formatting setting for email messages.

GP Entry Blocks (v1.0-alpha-2.10)

  • Added success notification after deleting entries.
  • Added frontend script to clear out query params for deleting and duplicating to prevent duplication upon refresh.
  • Added a new Summary Column to the Entries Table block and merge tag for duplicating entries.
  • Fixed an issue where No Duplicates option was validating on itself when editing entries.

GP Google Sheets (v1.0-beta-1.4)

  • Fixed an issue with our callback on gform_post_update_entry not accepting the correct parameters.

GP Inventory (v1.0-beta-3.16)

  • Added support for using shortcodes in Inventory messages (available, insufficient, exhausted, etc). Merge tags are parsed prior to shortcodes.
  • Fixed issue where checkbox Option fields would not correctly share inventory across forms using the same resource.

GP Limit Choices (v1.7.11)

  • Fixed issue where the “Enable Limits” checkbox wasn’t showing with newer versions of Gravity Forms when used with the Quiz Add-on. Additionally, issues with the checkbox and limit column not showing in GF 2.4 have been addressed.

GP Limit Dates (v1.1.19)

  • Fixed issues where the gpld_disable_inline_date_picker_default_date filter would not work with conditional logic or default values.

GP Nested Forms (v1.1.16)

  • Added gp_parse_template_output filter to allow customizing templates via filter rather than requiring a template file. (#216)
  • Improved reliability of skipping initialization of Nested Form fields on pages that are hidden in forms with conditional logic.

GP Populate Anything (v1.2.42)

  • Improved Preview modal in the Form Editor to show a JSON representation of arrays rather than just “Array.”
  • Fixed an issue with the Post object type only returning a single meta value rather than all meta values.
  • Fixed an improper runtime cache key that could cause value population to not check multiple results if a field also has choice population enabled.
  • Fixed an issue where the :price modifier would not work for choice-based products when used in a Live Merge Tag.
  • Fixed potential PHP warnings and error in preview AJAX request in the Form Editor.
  • Fixed potential PHP warning when populating arrays.
  • Fixed issue where zeros returned from certain object types would be replaced with an empty string.

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!