Today’s post is a super-quick tip for folks using Gravity Forms, a powerful forms plugin for WordPress.
Our mission? We’re going to require that all fields be required. That’s right, we’re going to require required.
The Problem
I’m building out a site containing some long forms where every form field needs to be required.
Do you know what’s soul-sucking? Having to go through a form with many fields and click “Require” for each one. I’d rather be eating jelly beans, or cleaning out my sock drawer.
Wouldn’t it be nice if there was a way to automatically check the “required” box for every form field? Why yes, it would!!
The Solution
A quick Google search didn’t net the solution I needed. So, pulled a lazy move and tweeted the question:
@cdils Sacrifice two chickens
โ Daniel Espinoza (@d_espi) August 17, 2014
While I got some interesting answers (and other folks wondering the same thing), it turns out the amazing Naomi Bush already solved the problem.
@d_espi @cdils no need to get violent, just ask the right person ๐ I’ve got one I’ve been using for awhile http://t.co/jgoxHgQS8p
โ Naomi C. Bush (@NaomiCBush) August 17, 2014
Let me introduce you to Gravity Forms Utility, a free plugin created by Naomi.
How to Make it Work
Step 1. Go to the Gravity Forms Utility page
Step 2. Scroll down to the bottom and click the big Download button
Step 3. Fill out your name and email and submit.
Step 4. Check your email.
Step 5. Download the plugin and install it in your WP dashboard via the plugin uploader.
Step 6. Activate that sucker.
Step 7. Go edit a Gravity Form and you’ll notice a nifty new “Utility” option where you can toggle all fields required.
Step 8. Save your form (the page doesn’t auto-refresh, so you won’t notice your change until you save it)
Step 9. Tweet Naomi and tell her she’s amazing.
One Last Thing
In my search for the “require all fields” solution, I stumbled across this helpful post that’s perfect for when you’re testing a website with forms and don’t want to fill out every single form field. Genius.
Sooo.. this is the first post of yours I’ve ever read. Not only is it awesome and helpful, but you’re freakin’ awesome. I will be reading through more of your posts.
Ha! Thanks, Timothy!
Carrie I so appreciate your tutorials. How much? I’ve been wanting Gravity Forms for awhile. Today I finally decided to purchase. I ensured to first come to your site just to give you a bit of affiliate click-through love.
Hey Brad – thank you. That’s very kind. ๐
Carrie.. this post just saved my life. ๐ Can’t believe I hadn’t found this before.
wow amazing plugin thank you so much saved my hours!!
3 years an this is still relevant! Iโm wondering if it is possible to add, to a notification email, the fields that have been updated?
I would think so? Check over on the Gravity Forms support. ๐