Welcome Guest, Not a member yet? Register   Sign In
best practices on Form Reuse - keeping all forms in a central location with validation
#6

[eluser]xwero[/eluser]
Validation shouldn't be in the view but it shouldn't be in the controller either. Validation in the controller makes it unmaintainable pretty fast. Validation is best handled in a separate file but to do that you need to customize the Codeigniter.php file.


Messages In This Thread
best practices on Form Reuse - keeping all forms in a central location with validation - by El Forum - 07-15-2008, 12:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB