Git Product home page Git Product logo

gravity-forms-checkbox-groups's Introduction

Gravity Forms - Checkbox Groups

About

Gravity Forms: Checkbox Group is an addon for the Gravity Forms WordPress plugin.

Usually, if you have a long list of options in your Checkboxes field, groups of related options are easier to handle for a user. Unfortunately, Gravity Forms does not support groups of options. Not until you install this plugin.

This plugin allows you to group the options in checkboxes fields by implementing <groups> within the native field interface.


Requirements

  • WordPress
  • Gravity Forms

Although Gravity Forms: Checkbox Groups supports older versions of WordPress and Gravity forms, it is always recommended that you keep your WordPress core and all of your plugins up to date. This will assure that you are protected from vulnerabilities, while having the latest complete list of features and as less issues and bugs as possible.


Installation

After downloading Gravity Forms: Checkbox Groups, there are two ways you can upload it to your WordPress site:

Install in WordPress

  • Login to your WordPress Dashboard
  • Go to the Plugins » Add New page
  • In the horizontal list of links, click Upload
  • Browse for the plugin .ZIP file
  • Upload and activate the plugin

Upload the files manually

  • Unzip the files (if not unzipped already)
  • Upload the gravityforms-checkbox-group folder to the /wp-content/plugins/ directory
  • Login to your WordPress Dashboard
  • Go to the Plugins page
  • Activate the plugin

How to Use

The plugin adds an "Add a Group" button between the "Add an Option" and "Remove an Option" buttons next to each option in the "Checkboxes" field.

Clicking this button next to an option will create a new group just below after that particular option. You should then input the label of this group.

A group can't be selected, so there is no checkbox button for making it a default value. Also, if the first option in the list of options is a group, the selected option in the frontend will be the first option that isn't in any group.

You can reorder the groups just like you can reorder your options - by using the drag & drop interface.

You can create as many groups as you wish, and you can insert as many options as you want below those groups.

In case you disable the "Gravity Forms: Checkbox Groups" plugin, the groups will be displayed as options. Once you reenable it, they will again be displayed as groups just like before.


Report a Bug / Suggest a Feature

If you wish to report a bug or suggest a new feature, feel free to submit a new Issue in the GitHub repository of the plugin: https://github.com/tyxla/gravity-forms-checkbox-groups/issues


License

GPL2+

gravity-forms-checkbox-groups's People

Contributors

tyxla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gravity-forms-checkbox-groups's Issues

Weird behavior

I added a group "Seasonal Flavors" to my list of ice cream flavors. It shows both as an unselectable group label and also as a selectable option. The selectable option is in the correct position in the list, but as you can see in the screenshot, the label is out of position and seems to have been inserted in alphabetical order.

Any idea what the problem is?

grouping

Test with all field types

Some field types (Option for example) can also benefit this functionality.

On the other side, some other field types (Product with Radio for example) should have this functionality disabled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.