Can I automatically delete the previous entry from a User ID of a form, after a new entry in that form is sent by the User ID?

By: Harm van den Elzen | Asked: 08/31/2023
ForumsCategory: Code SnippetsCan I automatically delete the previous entry from a User ID of a form, after a new entry in that form is sent by the User ID?
Harm van den ElzenHarm van den Elzen asked 8 months ago
Hi there, Can I automatically delete the previous entry from a User ID of a form, after a new entry in that form is sent by the User ID? I came across the list of codes below, but not sure if there is a suitable code for the above.
https://formidableforms.com/knowledgebase/frm_after_create_entry/
1 Answers
Victor Font answered 8 months ago
You can, but you have to know the entry id of the entry you want to delete. See this example in the KowledgeBase starting at line 47. https://formidableforms.com/knowledgebase/frm_after_create_entry/#kb-create-an-entry-for-each-user
Harm van den ElzenHarm van den Elzen replied 8 months ago

Thank you for your reply Victor 🙂

Do you know what the code should look like?

Victor Font replied 8 months ago

The referenced code in the article shows you what the code looks like.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right