Skip Navigation

[Resolved] Contact-Form

This support ticket is created 3 years 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+00:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 3 years ago.

Assisted by: Jamal.

Author
Posts
#2023697

Hi,

before I started using toolset, I already had a plug-in for contact forms.
I wanted to replace this plugin and create a contact form with Toolset.
But unfortunately I have to choose a post-type. But I don't want to save anything. The form should only serve to create an email.

How can I create a form without it being based on a post type?

#2024135

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Hello and thank you for contacting the Toolset support.

It is not possible, by design, to use a Toolset form without using a post. That's how Toolset forms work. A Form is bound to a post, either it creates a post or it edits a post. It cannot be used without a post.

As a workaround, I suggest that you configure the form to create a new post with the draft status. Then, you can set up a cron job or use a plugin to automatically delete draft posts in this custom post type after few minutes, or once daily.

Read more on how to set email notification for Toolset forms here https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/

You might want to use the automatic expiration feature to change the created post status to trash or something else. Read more about it here https://toolset.com/course-lesson/setting-up-automatic-post-expiration/

Check the following links on how to automatically delete posts on conditions:
- https://stackoverflow.com/questions/21676601/auto-delete-published-posts-after-a-specific-number-of-days-in-wordpress
- https://wordpress.org/plugins/auto-prune-posts/
- https://wordpress.org/plugins/bulk-delete/
- https://wordpress.org/plugins/wp-mass-delete/

I hope this helps. Let me know if you have any questions.

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