CPT: Taxonomy selector in Pro Forms

I’ve created a custom post type and am using pro forms to make a submission form with the “Create New Post” Action.

Now I want to do the following. I have a taxonomy linked to this post type, this works in the backend but I now want enable people to select a category from the front end with a select dropdown.
These are the categories:
image

How can I do this?

Thanks in advance!

resolved!

You have to set up the name for taxonomy and then you can use the field ID to autofill the right category:
image

1 Like

Hello, just did that but not working for me, docs is also very brief about it.

Anybody else that successfuly did that? I am using metabox with CPT / Custom Taxonomy. Local installation.

Its not working on my end

@tibo @bordzee
The “Taxonomy Slug” field required the slug of the Custom Taxonomy set up using Metabox or ACF or JetEngine. Next you want to create a field that retrieves the terms so that you can select them. Like a select field. Then copy that field’s field ID and paste it under the “Term” field.

Thank you for the response.
I have a custom post type: Activities
with regards on the post categories, is it the same as the custom taxonomy slug?
custom taxonomy: activity-categories and added the term field ID of the select field which has the list of the parent categories and their category name slug value

image

I dont know if this is correct

PS: i tried it and it works, the problem now is the checkbox which is child categories
so i added a condition that it will display once the specific parent category is selected.
ive added another custom taxonomy field with the exact field id of the checkbox



image

but when i submit the post, the only thing that will be saved is the parent category. Am i missing something?

  1. You should not use Post Categories, since you’re not setting a default Post Category but a custom taxonomy.
  2. Yes, you should use the slug for the custom taxonomy in that field. Example:
    image
    ^This is my custom taxonomy

    ^My select field
    image
    ^My create post - post taxonomies.

i tried it and it works, the problem now is the checkbox which is child categories
so i added a condition that it will display once the specific parent category is selected.
ive added another custom taxonomy field with the exact field id of the checkbox



image

but when i submit the post, the only thing that will be saved is the parent category. Am i missing something? i dont know if this is a bug @Daniele