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
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