CodeIgniter Forums
how to show errors in noty - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: how to show errors in noty (/showthread.php?tid=63313)



how to show errors in noty - sana.alauddin - 10-18-2015

Im using echo to show errors. I would like to use noty inorder to simply popup the error message. How can I achieve this with codeigniter?


RE: how to show errors in noty - PaulD - 10-18-2015

You can write the error for a field to a variable, and use that in any way you choose.

Code:
<?php $error = form_error('description'); ?>