GWW 284: Booked Solid

Bangin’ additions to GP Bookings. New features for the Snippet Library. A list of product updates. And a spotlight on linking form inventory to dates across forms.

Greetings, wizards!

I’m off today rehearsing for my sister-in-law’s wedding tomorrow. The house is buzzing with family, and the air is full of goodwill and good vibes!

I’ll see if I can bottle up a spoonful of that energy and share it with you—along with a bundle of good-feeling updates—in this week’s weekly. 💒

GP Bookings: Feature Frenzy!

We’re pushing hard towards an epic Beta 1 for this beast of a bookings solution!

I’m particularly excited about our new Dashboard additions. With this week’s update you’ll find a new List tab to make accessing all bookings even easier. We’ve also added filters across all views so you can target specific services/resources, booking status, or date range. The best part? You can save these filters to create your own custom views!

But wait, there’s more!

  • 🎣 Single-day bookings are now supported — think fishing charters, theme park admissions, studio rentals.
  • 🎨 Services and Resources are now assigned a random default color — makes ’em much easier to differentiate in your dashboard.
  • 📆 The new “Starting Month” setting on Booking Time fields allows you to control which month will be displayed — available options are “First month with availability”, “Current month”, and “Specific month/year”.

Spotlight: Linking Inventory to Dates Across Forms

Keeping track of inventory for event equipment is no joke – dates and quantity need to line up so you don’t get a one-way trip to Overbookville. The catch? Sometimes that information is scattered across different forms. Check out how Tony Schwartz conjured a daily inventory tracking system for his equipment in one form by referencing dates from another.

Top Picks: Product Highlights

GP Submit to Access
✦ Flexible content gating via Gravity Forms submissions.

Use the new {gpsa_gated_url} to redirect back to the protected page after submitting the required form to gain access. Note: This only applies when redirecting to a separate form page rather than embedding the form directly.

GP Limit Checkboxes
✦ Limit how many items can be selected across one or more checkable fields.

Limit Checkboxes now supports Multi Choice and Image Choice fields. While these fields do support setting limits out of the box, Limit Checkboxes adds support for preventing additional selections live and spanning limits across multiple fields.

GP Advanced Calculations
✦ Advanced calculations with functions, conditionals, and an intuitive formula editor.

This perk was improved to better support conditional statements in formulas contingent on conditionally hidden fields. Not familiar with the power of conditional statements? Learn more.

Workshop: API Alchemist

Doing anything fun next Thursday at 1pm? There’s only one right answer and I’m thrilled you’ll be joining us for another exciting live workshop!

This time we’re going deep into the wizarding lab, unearthing some arcane (but extremely practical) use cases. Of course, we’re well prepared for this adventure with a satchel full of pro tips that will help you get the most out of this incredible connection.

Snippet Library: Chapter 2

Our expansive Snippet Library has received some luxurious housekeeping… or is it bookkeeping? 📚

First, we’ve created our own micro-service for syntax highlighting. We needed better reliability and greater control. Now that we have both, we used this opportunity to make a few other quality-of-life improvements.

  • Auto-instructions (for snippets that don’t have hardcoded instructions) will make it easier to get started, particularly if you’re new to installing snippets.
  • Line numbers allow you (but mostly us) to link to specific portions of a snippet for clearer communication.
  • Prominent experimental snippet banners help you identify snippets that are, yup, experimental, and should be used with due caution.

Product Updates

Gravity Perks

GP Advanced Calculations (v1.1.19)

  • Fixed an issue where conditional statements using the OR operator would evaluate as false when one of the referenced fields was left blank or conditionally hidden at submission, causing the result to become invalid.

GP Bookings (1.0-alpha-3.4)

  • Added [gpb_ics_event](https://gravitywiz.com/documentation/gpb_ics_event) PHP filter hook for modify the VEVENT‘s in ICS feeds.
  • Added new “Starting Month” setting to Booking Time fields and change default behavior from “Current month” to “First month with availability window.”
  • Added message to the “Bookings Notifications” meta box if there aren’t any GP Bookings-related notifications configured for a form.
  • Improved Dashboard by adding new List tab, filters, and the ability to create custom views.
  • Improved handling of single-day services (full day block size, no flexible booking duration). The date picker no longer will show a range, validation will no longer show an error, and the saved value for the Booking Time field will be a single date rather than a range.
  • Improved styling of Booking Time field. It now utilizes more variables from the Gravity Forms Theme Framework.
  • Updated Services and Resources to default to a randomly generated color instead of white.
  • Updated text in setup wizard.
  • Updated Availability Windows to show as green to match Unavailability Windows showing as red when editing Services and Resources.
  • Fixed issue where the wp gp-bookings reset WP-CLI command did not work unless the --everything flag was used.
  • Fixed issue where “Full day” bookings would cause calendar dates to become unavailable no matter the capacity.
  • Fixed Booking Time field not using the “Time Format” configured in Settings » General.
  • Fixed regression with field UI not functioning as expected in the form editor.
  • Removed unused “Resource Driven Booking” setting for Booking Time fields.
  • Removed Booking Notifications metabox for entries.

GP Entry Blocks (1.0-beta-2.17)

  • Fixed a fatal error that could occur when editing an entry and adding files to an initially empty multi-file upload field before updating the entry.

GP Inventory (v1.0.14)

  • Fixed an issue where Simple Inventory fields could trigger an infinite refresh loop.

GP Limit Checkboxes (v1.3.21)

  • Added support for Gravity Forms 2.9 Multi Choice and Image Choice fields.

GP Populate Anything (v2.1.47)

  • Fixed an issue where users assigned to multiple sites in multisite installations would not appear when using the User Object to populate choice fields on subsites other than their primary blog.
  • Fixed an edge case where post titles containing ampersands were not properly matched when filtering.

GP Submit to Access (v1.0.9)

  • Added support for gpsa_gated_url merge tag.
  • Added gpsa_redirect_to query param to form redirect URLs.

Gravity Shop

GS Product Configurator (1.0-beta-02.41)

  • Fixed an issue where deactivating Gravity Forms would cause a fatal error.

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!

This field is for validation purposes and should be left unchanged.