...
Go to Tools/Apps/Contact Form and edit the new instance:
Go to settings and select Automatically delete contact requests after deadline You can choose between the options Delete contact requests after deadline and Delete fixed date contact requests. While the first option ensures that the request is deleted in x days, weeks, months or years, the second ensures that requests with this time stamp will be deleted when this timestamp has already been reached. For our purpose, select Delete fixed date contact requests and enter today's date and the current time. |
Send a contact request
Call the contact form in your web browser and send some dummy contact requests.
...
This will create a new table row in the contacts table of a (n new) entry. Among other things, the attribute c_deletion_Deletion date ist set to the timestamp set up in the Contact Form instance.
...
It shows all contact requests which were made before the deadline c_deletion_Deletion date (you set up in Step 1) run out of date.
...
Fill out the search form and run it by clicking the loop-Button:
Search → contactform2-cleanup-tables All areas → Jobs All actions → Execute | All areas → EditUser Actions → Delete |
Open the details view to see the log file of this job. | It may be possible that a user was deleted as well while running this job. Look for User Job contactform2-cleanup-tables. |