Conditional Logic has always been one of our most popular WPForms addons.
And that’s no surprise… Conditional logic allows you to do some pretty neat things with your forms, including:
- Hide entire questions if the customer doesn’t select a specific option
- Add an email signup checkbox to any form
- Allow customers to select their preferred payment method
- Send conditional notifications based on the user’s answers
…and a whole lot more.
That’s why today we’re excited to announce some BIG changes to WPForms conditional logic that will help you more easily create smart forms.
Conditional Logic Is Now Built-In
With WPForms 1.3.8, there’s no need to install a separate Conditional Logic Addon.
Conditional logic is now built into the core plugin.
If you’re using the Conditional Logic Addon now, you can remove it after updating to WPForms 1.3.8. All your forms using conditional logic will be preserved.
New Conditional Logic Features
We’ve also added a couple of new features to conditional logic that you’ve been requesting:
New Empty / Not Empty Rule
With the new empty/not empty rule, you can hide or display fields based on whether or not a specific form field is filled out.
This rule is perfect for hiding entire questions that don’t apply to the user.
For example, maybe you only need one point of contact from your users: an email address or a phone number. Once they start filling out their email address, you can set the phone field to be hidden automatically, and vice versa.
This is also great for sending conditional notifications. For example, you could create a thank-you email notification that only gets sent if the user enters an optional donation. Otherwise, they would receive a general email notification.
Hidden Fields Can Be Marked Required
We’ve also added another conditional logic feature that you’ve been requesting: fields hidden by conditional logic can now be marked as required.
Previously, if a field was hidden due to conditional logic, and it was marked required, the user would not be able to submit the form. Now, that’s no longer a problem.
Take that example we mentioned above of a form with an option to donate. If a user chooses to make a donation, extra form fields could display asking for more information regarding their donation.
You can now mark those hidden fields as required. That way, if the user opts to donate but doesn’t enter all the required donation information, they won’t be able to submit the form.
That’s all for WPForms 1.3.8! Thank you as always for your support. WPForms is the best WordPress contact form plugin thanks to you.
We made these conditional logic updates a priority because you requested them. Remember, we’re always listening to users for ideas and suggestions. If you ever have an idea for a new addon or feature you’d like to see, please get in touch.
Don’t forget to subscribe to our newsletter and follow us on Twitter and Facebook to always be the first to learn of new features.
Jared and the WPForms Team
Great update guys! I’ve been waiting for the ability to set conditionally hidden fields as required.
Thank you Jay! Hope you find it useful 🙂 Do let us know if you think of any other features you’d like to request!
♥♥ LOVE this news and the updates! Thank you! Looking forward to everything that’s ahead for WPForms 🙂
Thanks so much for your continued support, Sasha-Shae! We really appreciate it 🙂