CodeIgniter Forums
Wierd Question. New but loving CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Wierd Question. New but loving CI (/showthread.php?tid=40917)



Wierd Question. New but loving CI - El Forum - 04-22-2011

[eluser]jj.n.ford[/eluser]
Okay I want to load something onto a view just like form validations errors load. For instance I have a page with a form that the user submits. I would like to then display that same form with more content below it. I can create custom form validations to do this but is there a better way.

Also is there a good way have a method in a controller determine what it should do base on what was last posted. This would create a streamlined process. In my case I am building a password reset function. After the user gives an ID they press continue and will be asked the answer a security question. But I don’t want to load this security question with a different method otherwise a user could access this method through the URL without giving any ID.

Any help would be appreciated. I just started with CI this week. I must say I LOVE it!