CodeIgniter Forums
Where to use form helper? - 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: Where to use form helper? (/showthread.php?tid=54163)



Where to use form helper? - El Forum - 08-26-2012

[eluser]Unknown[/eluser]
Hi,

I have a question about form helper.

I know that the logic can't be separated from the presentation entirely, although that is the focus of MVC.

I'm using the form helper to create a form, but I don't know if I should be putting this in my view or my controller, and then passing $data to the view and echoing it out there.

Any input?


Where to use form helper? - El Forum - 08-26-2012

[eluser]DarkManX[/eluser]
put it in your view, there isnt a problem with that...