This topic is locked

Delete from View

4/30/2021 1:20:40 AM
PHPRunner General questions
K
KennyB author

I am lookingto pass the fields from screen to server side so I can write a record out to an audit file prior to deleting..
I know i can get key pageObj.keys[0] to get the key to file.
but i seem to be having issues on server side trying to query the record and write out the fields to a secondary file

is there a way to get the Field values with waht is beoing passed to the onbefore?

if so what is proper syntax to load an array of params to be passed to the Server side..
I tried what was in example but it didnt like at all it only recognized 1 param. but if i want to pass say 3 fields ..

function OnBefore(pageObj,params,ajax,ctrl,row)

{

If anyone has any tips .. Thanks

admin 4/30/2021

It is a bit confusing. What event we talking about? Is this a built-in delete functionality? Is this a custom button?