Gravity Wiz Weekly #120
Gravity Forms Inventory gets powerful new features, edit forms within forms on the fly, and one spell to update hundreds of websites at a time.
Greetings, wizards, and welcome to the first week of Fall!
The falling leaves herald the upcoming holiday season and along with it, the rush of holiday shoppers eager to purchase your goods and book your services. Thereβs never been a better time to try our new Gravity Forms Inventory plugin. This week, weβre excited to share two powerful new ways to use this potent perk.
Are you one of the thousands of customers using Nested Forms? We added an itty bitty feature that will greatly improve the ease of editing your child forms. And for our passionate Populate Anything fans, learn how one of our customers is using it to control hundreds of forms from a single database.
Lastly, weβve got another round of new resources and wonderful Gravity Perk updates for you. Weβll be keeping your inbox full of Gravity Wiz goodness all season long.
New: Shared Scopes for Gravity Forms Inventory
Gravity Forms Inventory is our magical charm for handling just about every type of inventory imaginable.
This week, we’re excited to bring wizards further flexibility with shared scopes. π§π»ββοΈ
The scoped inventory feature specifies a resource’s inventory based on another field (for example, a date) on your Gravity Forms. This comes in handy when you have different inventory on different dates, like appointments or events.
Now, it’s possible to share scoped inventory across fields and forms.
Harry will help us explain.
*Harry Potter enters the chat.*
- Iβm Harry Potter. Iβm a wizard? Blimey!
- Iβm selling tickets to my upcoming Quidditch match (go Gryffindor).
- Iβll use GF Inventory to scope ticket inventory to a specific date: the day of my match.
- Iβm charging more for adult wizards than Hogwarts students (Hermoine and Ron also get the best friends discount).
- So, Iβll create three products on my form, one for each ticket price.
- I can then scope all three products to the same inventory pool and date of the match. Alohomora!
Iβm also going to create separate forms, landing pages, and marketing campaigns directed at Hogwarts students and adult wizards, respectively. With shared scopes, all of these forms will still pull from the same finite ticket number Iβve set for that day.
Oh, one more: Iβm going to sell bundles of tickets at a time for a discounted price via the new Weighted Inventory snippet – but more on that in the Resources section.
Hermoine just said βRiddikulus!β
*Harry Potter leaves the chat.*
This opens an entire world of possibilities when combined with the other functionality included in Gravity Forms Inventory.
Edit forms within forms, on the fly.
Nested Forms helps users conjure forms within forms, create Gravity Forms repeaters, and simplify complex data collection.
When editing a Nested Form within a parent form, we noticed it might be time consuming to navigate back to the child form through the main form menu to make edits.
Now, you can swiftly navigate to the selected child form directly from the Nested Form field. Make a quick edit and with a flick of your wrist, youβre back working on the parent form again.
Spotlight: One spell updates hundreds of websites at a time
Jeff Bianchi manages a list of client websites that include the same custom order system he developed.
If youβve ever had to make similar backend updates to many websites at a time, you know how daunting this process can be.
So, Jeff casts a spell that updates all client websites with the wave of a wand.
This is done using Populate Anything to query an external database, on his own domain, to control all aspects of the Order Form section across all his client websites.
From Jeff:
Let’s say I have 100 voice-over customers who are using my Order System. Now I want to do some backend maintenance that requires everyone to be offline. Not their websites, just the Order System.
I can update one row in a table and all 100 of my customers’ Order Form sections become disabled and replaced with HTML that states “The Voice Actor’s Webmaster is performing maintenance on the Order System. We’ll be back online shortly.” It works great.
If a particular customer is going on vacation and wants to disable their Order Form section for a week, I have the ability to target a single customer using the same technique to disable [only] their Order Form.
All of this functionality is driven off of Populate Anything. And it saves hours. Legendary.
Have a use case you would like to share? We would love to hear it!
Gravity Wiz Weekly Newsletter
Don't miss a thing. Get our weekly updates by owl or email. Ok, we're still working on the owl service, so just email for now.
Resources
Create Shareable Health and Safety Audits with Gravity Forms β In light of the Covid-19 pandemic, itβs especially important for businesses to maintain important health and safety standards. Learn how to use Gravity Forms to create shareable Health and Safety audits that your technicians and auditors will love.
Gravity Forms Inventory | Weighted Inventory β GF Inventory provides simple inventory, choice-based inventory, shared inventory, and scoped inventory. This snippet adds weighted inventory to the mix.
Bringing back Harry Potterβs Quidditch match: Harry can sell one ticket at regular cost, or a bundle of tickets at a discounted rate, and have these sales pull from the same inventory pool.
Populate Dates + Populate Anything | Dynamic Dropdowns β Our Populate Dates snippet lets users populate date and time fields with a modified value based on the current date/time, or a user-submitted date/time. This snippet enables dynamic drop-down menus to populate based on an entered date.
Gravity Perks
GP Address Autocomplete (v1.1.1)
- Fixed issue with the City input not being filled in for city-states such as Singapore.
- Fixed issue where Address inputs such as City could be filled with “undefined” rather than an empty string if the result does not return a value for that particular input.
GP Inventory (v1.0-beta-1.2)
- Updated gpi_is_edit_view to allow scoping by form ID. (#11)
GP Limit Dates (v1.1.5)
- Added support for responsively downsizing the datepicker.
GP Live Preview (v1.6.3)
- Added new “Ignore Form Restrictions” option.
GP Nested Forms (v1.0-beta-10.6)
- Added a link in the Nested Form field setting to allow you to open the child form in the form editor in a new tab.
- Fixed a potential issue where the
{parent}
merge tag may remain visible when editing entries while the source field is empty.
GP Populate Anything (v1.0.16)
- Added security enhancement.
- Improved compatibility with new state validation for Radio Buttons fields introduced in Gravity Forms 2.5.10.1.
- Improved compatibility with GP Read Only in cases where Filters are dependent on read only choice-based fields.
- Updated
gppa_hydrated_value
field property to be set earlier so other plugins using thegform_pre_render
filter can access it. - Fixed performance issue with query caching in the GF Entry Object Type.
Alright, wizards. Until next week. π§π»ββοΈ
Dam, that’s cool about hooking up the Populate Anything add-on with an external database! I’ll be keeping that in mind going forward. Nice work wizards π§ββοΈ