Skip Navigation

[Resolved] CRED Form: Only show taxonomy terms created by current user

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by davidS-53 5 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#1256729

I have a custom taxonomy called "location". In a CRED form, is it possible to only list out the "locations" that the current user has created? Something equivalent/behaving similarly to author="$current"?

If not, would you have any suggestions as to how to achieve that? Perhaps a custom field that stores the user ID of whoever created it, and filter the select field based on that? Any tips would be appreciated.

#1256947

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no option available to display the current author terms. You are welcome to submit the feature request for the same:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

However, if you know how to grab the IDs of current user terms, you may try to delete it using the custom JS code. Please check the following link:
=> https://toolset.com/forums/topic/exculde-one-category-from-search-seect-menu/#post-528289
(This is not a complete solution but at least you will get idea how you can delete it using custom JS code)

#1257581

Thanks Minesh, that looks like it should do just fine.