Dear Sir Abu,
Is there a way to mark the time when start opening the “add form” or “Edit Form” ?
So, I can calculate $execution_time = $finish_time – $start_time
Thanks Sir.
1 Answers
You can try using these 2 events,
// log start time in
$opt[“add_options”][“afterShowForm”] = “function(){ }”;
// calculate end time on form submit
$opt[“add_options”][“beforeSubmit”] = “function(post,form){ return true; }”;
$g->set_options($opt);
Your Answer