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

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: Wierd Question. New but loving CI (/thread-40917.html)



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!