CodeIgniter Forums
Tank_Auth ajax - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Tank_Auth ajax (/showthread.php?tid=58666)



Tank_Auth ajax - El Forum - 07-04-2013

[eluser]Radou[/eluser]
I am using tank_auth library with Codeigniter and everything is working great except something I am not able to figure it out. I am including the view for changing password/email tabs (tab_1, tab_2) on the same page, but when an error occurs in the form I have always a redirection to "auth/change_password" or "auth/change_email".

How can we do a change to let the error message displays in place (inside corresponding tabs) instead of the default redirection ?

May be an ajax trick to change this behavior ?

Thank you