Skip Navigation

[Résolu] Limit categories shown in FrontEnd Postform

This support ticket is created Il y a 5 années. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 réponses, has 2 voix.

Last updated by thomasB-2 Il y a 5 années.

Assisted by: Christian Cox.

Auteur
Publications
#1227884

We try to create a frontend Content form for different Usergroups wich are only allowed to special post categories.
We work with Access and toolset forms.
The normal post Content creation and editing form was no problem.
But to show - related to Access-Groups - the categories was difficult

Is there a way to handle these problem?

#1228068

There's not an easy way to filter the category options in a Form input based on User group. The best approach here is to use different Forms for each User group, and use generic fields to display different category options to each User group. Then use the Forms API to apply the correct terms to each post.
https://toolset.com/documentation/user-guides/inserting-generic-fields-into-forms/
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data

#1229192

My issue is resolved now. Thank you!
Maybe it make sense to place these possibility for the future in the enhancement List of Forms.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.