How to trigger again a php file after record deletion?

mirceat

Member
Hello,

I have a php file that generates a pdf file based on form information. Sometimes, the uses will delete a record in form and i need to regenerate the pdf file with newest information.

I tried to allocate the php file in php form plugin using "After record deletion (onAfterDeleteRowsForm) but the php file is not triggered, ergo the pdf file is not regenerated.

I also tried to add a simple return "test";exit; in the "Php code" for this plugin but nothing happen, I'm getting the "1 record deleted" message in list instead of "test"..

So, how can i re run a php file after deleting a record?

Thank you
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top