Support » Plugin: Gravity Forms + Custom Post Types » [Plugin: Gravity Forms Custom Post Types] Using Taxonomy more than once

  • First of all, thanks for this plugin, which is fantastic.

    However I’ve run into an issue. I have a form, linked to a custom post type, that allows some users to select one custom taxonomy term, some to select two and others to select an unlimited number.

    My intention was to create three fields, basically called – Choose first term (drop down), Choose second term (drop down), Choose any amount of terms (checkboxes), and determine which is/are displayed using conditional logic.

    However when I add more than one field populated with the same custom taxonomy, the form fails completely, nothing is shown at all.

    Is there any way around this? Or will I have to rely on just telling people how many they can choose (they are unlikely to be very obedient!)? Or is there another approach altogether that I am not seeing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bradvin


    I have never tried a scenario like this before. I will try it out and let you know what I find


    Thanks, I’d appreciate that very much.

    I’ve resorted to a ‘preform’ which determines what form to show the various people, which isn’t ideal but works for picking one taxomomy or any number, but I still have an issue allowing people to pick two only.

    The solution I have come up with (provisionally) here, is to switch the choices with a gform_pre_render function. However, since your plugin already does this, would it work do you think?

    If not, I suppose I can just use ordinary dropdown/checkboxes fields, switch them, and handle the taxomomy in a post_submission function.

    Unless you see something better?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Gravity Forms Custom Post Types] Using Taxonomy more than once’ is closed to new replies.