We recently bought the Gravity Forms Plugin for WordPress. We started out with the Personal package ($39) because we needed it for an in-house project, but within two days we updated to the Developer Edition ($199). It’s an amazing plugin for WordPress that will make your life much, much easier when it comes to forms. What this plugin does is that it transforms the tedious process of creating forms in WordPress into a breeze! With the plugin you can build Multi-page forms, Schedule forms, Pricing and Post fields.
If you have the Business version of the plugin, you can also add Aweber, Campaign Monitor and MailChimp integration at your forms. With the Developer version, you can also handle registration information. In one of the sites we’re using it, we’ve managed to create a front-end account creation and then the user was able to create a post, assign titles, descriptions and text, while at the same time being able to upload a photo to go together with the article, all from the front-page. This way the visitors you want to convert into frequent users won’t have to learn one more platform in order to submit content to your site. There are hundreds of ways to incorporate Gravity Forms into your WordPress installation, creating advanced features for your users, but I guess that’s material for another post. What this post is about is a need that we had with the plugin and how we created a plugin to facilitate that need.
Gravity Forms Plugin and Category Selection
We’re creating an advanced submission form for our Best WordPress Themes website. We need the submitter to be able to select the use of that WordPress Theme (business, photography etc.), layout options, and last but not least, if it’s a free or premium theme. The problem we faced was that by selecting the category button from the Gravity Forms form builder, the only option we had was to go with a drop-down menu. The drawback of this is that we cannot select multiple categories for our forms, leaving out a big part of the functionality we wanted. After searching for quite some time we’ve found a solution at the Gravity Forms forum. Implementing this solution though didn’t let us select specific categories (we need to include them all) and we weren’t able to do anything else than checkboxes.
So Nick took this idea and made it into a small WordPress Plugin.
The plugin in action
Download the plugin clicking here and then activate it. The plugin is tested with the Gravity Forms v1.6.1. Upon activation you will see a change in your Post Fields -> Category button. When you insert it into your form, it’s settings will include one extra option, the Field Type demonstrated in the image below.
Now you have the option to use a Drop-Down menu, Multi Select, Check Boxes or Radio Buttons for your categories and at the same time select what categories will be shown.
If you find a bug or have any problems with it, don’t hesitate to add a comment or contact us through our contact form.
Hope it will help you ;)