PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Taxonomies in multiple forms

  1. pixelguy
    Member

    Is there an option to use custom taxonomies in multiple forms?
    I found solutions for changing the tag-field to custom taxonomies. But they work only for one form i think?!

    Posted 14 years ago on Saturday October 16, 2010 | Permalink
  2. Without seeing your code it is hard to tell how you have it configured.

    You can target a specific form by appending the form id to the filter.

    So for example, this filter would target just form id 10:

    add_filter("gform_post_data_10", "change_post_data", 10, 2);

    Is this how your gform_post_data call looks?

    If your code is targeting a specific form OR targeting specific field ids then you would have to update your code for each form so that it works on each as field and form ids are unique.

    Posted 14 years ago on Monday October 18, 2010 | Permalink
  3. pixelguy
    Member

    I saw this code: http://code.hyperspatial.com/all-code/wordpress-code/gravity-forms-taxonomy-fix/comment-page-1/

    But at the moment i could not test it.

    Can you change the code for the use with multiple forms?

    Posted 14 years ago on Monday October 18, 2010 | Permalink
  4. I can't change the code myself. This is a customization so you would have to know PHP and WordPress development to implement. I can refer you to a WordPress consultant who could assist you with this if you would like.

    Posted 14 years ago on Monday October 18, 2010 | Permalink