[Resolved] Prevent CRED Auto Draft creation

This thread is resolved. Here is a description of the problem and solution.

Problem: I can see several CRED Auto Draft posts in my site. They seem to be created when someone visits a Form even if they do not create a post. How can I prevent these automatic posts?

Solution: Unfortunately there is no way to prevent this behavior, but CRED Auto-draft posts should be deleted automatically by the system after a few hours. The autodrafts are used on the backend to prevent duplicate posts. If they are less than 8 hours old, they shouldn't be a problem.

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.

This topic contains 2 replies, has 2 voices.

Last updated by umbertoZ 1 month, 3 weeks ago.

Assigned support staff: Christian Cox.

Author
Posts
#1492601

Hi, I've a Toolset form on a page, it is a booking form published on Properties pages. The user can complete the form and on submit it stores the info in a post and it sends a notification by email with the Booking datas. Everything works fine.

My problem is that, everytime a user open a Property page the form creates a CRED Auto Draft, even if the user is not going to send any booking.

Is there a way to prevent this behaviour? Is there a way to "activate" the form only when the user start filling it?

Is there a different solution if I include it in a Modal popup?

thnaks
Umberto

#1492679

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Is there a way to prevent this behaviour? Is there a way to "activate" the form only when the user start filling it?
Unfortunately there is no way to prevent this behavior, but CRED Auto-draft posts should be deleted automatically by the system after a few hours. The autodrafts are used on the backend to prevent duplicate posts. If they are less than 8 hours old, they shouldn't be a problem.

Is there a different solution if I include it in a Modal popup?
I don't recommend this, because it could interfere with Forms initialization scripts and submission.

#1495001

My issue is resolved now. Thank you!