• Resolved Johnny

    (@johnny18sg)


    Hi Jim,

    I have created a custom post type called Report and a custom taxonomy called Country.

    In Report, am I able to create a custom field called nation and set the field type to Taxonomy?

    I am trying to link nation to the taxonomy called Country, so that when I update the nation field in Report, the Country taxonomy will also be updated, and vice versa.

    I was able to do this using ACF. I just wonder if Pods can do this also.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    We do not support a custom field of ‘taxonomy’ type.

    What is the actual ‘function’ of this Nation field? We have relationship fields that can connect a ‘term’ in Country to a ‘post’ in Report, but relationships connect post to post, object to object, term to post, etc.

    If you link your Country Taxonomy to Report then that term would have a direct link to that post in Report that was linked to that specific term, if that’s what you’re intending.

    Thread Starter Johnny

    (@johnny18sg)

    Hi Jim,

    The function of the Nation field is for frontend form submission (guest user with no access to backend). When the guest submits the form, the Nation field (single selection) will update the Country taxonomy.

    I managed to do it by setting the Nation field type to Relationship and pointing it the Country taxonomy. So when I update Nation field, it also updates Country taxonomy.

    The reverse is not possible. For example, from the backend (as administrator), updating the Country taxonomy term (1 selection) will not update the Nation field. The Country taxonomy will revert back to the value set in Nation field.

    Is that right?

    • This reply was modified 6 years ago by Johnny.
    Plugin Contributor Jim True

    (@jimtrue)

    I’d need to see your structure to see how you’ve created it to validate if this would work or not. Right now, I’m still not getting the flow of what you’re trying to create, especially the part about the guest user form updating the taxonomy.

    If you’d like, join our Slack Chat at https://support.pods.io/chat/ and reach out to me. You can upload some screenshots of your field/post type/taxonomy configurations.

    Thread Starter Johnny

    (@johnny18sg)

    Hi Jim,

    So far it works for me. Noted about the link you provided.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom field of Taxonomy type’ is closed to new replies.