Jump to content

Pablo Uribe

Member Since 16 Nov 2015
Offline Last Active Jul 07 2016 03:07 PM

Topics I've Started

callback_after_upload : get name of the field clicked

07 July 2016 - 05:53 AM

HI MASTERS, please help


one table have 2 columns : A and B


both save files 


$crud->set_field_upload('A', 'public/uploads/files');
$crud->set_field_upload('B', 'public/uploads/files');
$crud->callback_after_upload(array($this, '_callback_upload')); is fired when i pick one file.
i need to know what field is firing the callback, because i need to apply several validations depending if it A or B