⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Show output error in callback



midnigther
  • profile picture
  • Member

Posted 27 July 2012 - 03:30 AM

I need a way to output a info,error message after a callback.
I wrote a helper to perform this task, a simple javascript alert, however the default message from grucery crud is present. There are any way do disable it or other way to do it?


public function _callback_encrypt_password ($post_array, $primary_key = null)
{
$post_array['password'] = md5 ($post_array['password'])
popup_error ("error","Password not match!"); //helper
return false;
//return $post_array;
}