Add hook to portfolio category in WPForms

Hi, I have a User Submission Form for users to submit Blog posts from the front-end through WPForms and would like for them to be able to choose their category to submit to - videos or images. I tried through their dynamic settings but this doesn’t allow for conditional logic so instead I would like to link the 2 category options to custom meta - the portfolio category.

I’ve done this for the first 2 fields through ACF as you can see in the screenshot but was wondering if you have a specific Hook (if that’s what it is?) that I can define in these settings to get the result to link to the portfolio category? I put the_category in there as a guess but I’m sure that’s wrong.

For example - the Country result gets outputted to the eg-location custom field in the post, so I need the same thing with the Content Type being outputted to the portfolio category.

Is this possible?

Looking forward to your response!

Cheers,
David

Hello David,

Thank you for the very detailed information. Be advised that the WPForms is a 3rd party plugin. Any modifications to this plugin or its functions and features are beyond the scope of our support. By the way, the portfolio category is using portfolio-category and the portfolio-tag for the portfolio tags. Kindly change your custom meta field and use the later instead of what you have right now which is the_category.

We would love to know if this has worked for you. Thank you.

Hi @ruenel thanks for your advice. I’ve changed the_category to portfolio-category and it doesn’t seem to be working. Is there anything else you could suggest changing this to?

Thanks,
David

Hello David,

I am not sure how the WPForms works. It seems that you are trying to display a taxonomy (portfolio category) in a custom meta field. This may be possible with custom coding which is beyond the scope already. We highly recommend that you reach out to the creators of the WP Forms as they are more familiar with the plugin. They should be able to give you advice on how you can accomplish what you have in mind.

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.