WP Manifestindependent plugin directory
manifest / forms / pods-gravityforms-taggable-text-fields

Pods Gravityforms Taggable Text Fields

Convert a text field to a taggable field with Pods, Gravity Forms, and the Pods Gravity Forms add-on.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mgratch/pods-gravityforms-taggable-text-fields/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Convert a text field to a taggable field with Pods, Gravity Forms, and the Pods Gravity Forms add-on.

Description

When submitting a text field of term names to Pods::add() if the term already exists the user will receive an error. Already existing terms are expected to include term_id in the $tag_data array.s).

Now text fields in GF marked as taggable with the additional plugin will work as expected. This code is a bit rough and there is more duplication than I would like... this is a first draft.

Installation

  1. Install Pods
  2. Install gravity-forms-custom-post-types or a similar plugin that creates a field that autopopulates choices as well as allows adding new choices
  3. Install pods-gravity-forms
  4. Install this plugin
  5. Enjoy text fields mapped to taxonomies to have the ability to add new non-hierarchal terms
  6. Ensure your text field is outputting comma separated strings.

Changelog

0.1.0

  • initial release