At the bottom of the code window in the article is a link (pdb-record-delete-switch.php) to the gist where you can download the file, the link is:
https://gist.github.com/xnau/40ff2abd35fb856e3d06dbb4bdbc7169#file-pdb-record-delete-switch-php
Thread Starter
vipman
(@vipman)
Did everything as written, but when you try to click on the checkbox, the mouse lights up with a stop sign and can not be removed, what’s wrong?
Thread Starter
vipman
(@vipman)
Also Date fields are not displayed
Thread Starter
vipman
(@vipman)
Can be configured so that the record on the field “Date” with the onset of “such and such” value was removed?
For example, the user set the date value to 01-11-2018, and at the occurrence of this date the record was deleted
The basic problem you face is that when a record is deleted, you can’t store the date it was deleted in it. You will have to save that information somewhere else.
Thread Starter
vipman
(@vipman)
Oh, sorry. I mean, to have the whole record deleted as a timing
Thread Starter
vipman
(@vipman)
If Data = 30.11.2018 delete the entry?
Thread Starter
vipman
(@vipman)
The fact is that I want to buy this plugin https://xnau.com/product/datepicker/ – and I want to make it so that the user can choose when it (record) will be deleted, and that it was deleted on the occurrence of the value in the Date
Thread Starter
vipman
(@vipman)
It is desirable that a “form Element”
It’s possible, but will have to build the code for this yourself. I don’t have the code to do this. It will require that you set it up with a cron.
Thread Starter
vipman
(@vipman)
Okay, what exactly do me need to do?
-
This reply was modified 7 years, 7 months ago by
vipman.
I’m sorry, I don’t have the code to do this, and I’ve never tried it, so it will be up to you to figure out how to do it. Are you a WordPress developer?