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.
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.
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.
— 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 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.