Can I use GFAPI inside a form to remove a previous form?

Hi there,
Let me first say I know almost nothing about GFAPI but I believe it might help me obtain my objective to move a previous form entry to trash.
Using some GF Wiz perks I am extracting some data from a previous form entry. When complete I want to move that form entry to trash.
Any help would be gratefully accepted. Thank you
Phillip

Hello. Yes, you can delete an entry with GFAPI. Here are the docs for that:

The GFAPI::delete_entry method is what will remove the entry. You also need a time to run that. That will need to happen after your ‘extracting’ step happens.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.