Sauter la navigation

[Résolu] limit the number of user entries in a specific post type

This support ticket is created Il y a 3 mois et 1 semaine. 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)

Ce sujet contient 1 réponse, a 1 voix.

Dernière mise à jour par Minesh Il y a 3 mois et 1 semaine.

Assisté par: Minesh.

Auteur
Publications
#2783497

Tell us what you are trying to do?
I have an entry form, in which only registered users can fill in to verify themselves on the website, I need to limit to 1 entry per user, so that they cannot fill in the form more than once.

Is there any documentation that you are following?
none

Is there a similar example that we can see?
none
What is the link to your site?
lien caché

#2783517

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You should create a view and add a query filter for post author where post author is equal to logged-in user.

You should try to follow the steps given with the following Doc and try to resolve your issue:
- https://toolset.com/course-lesson/how-to-create-custom-searches-and-relationships-for-users/#how-do-i-prevent-users-from-creating-more-than-one-contractor-post