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

[eluser]chuckleberry13[/eluser]
So Collin your suggesting to to have a Form Controller Class that is a pre-controller hook to catch any form elements that might have been submitted and if there have been, to handle the validation/data prepping there? In other words making that Form Controller your store of form elements with their validation rules?

Sorry if it seems like I have to repeat everything you guys say, I'm just realizing how much I didn't know when it comes to programming and all the new terminology.
#52

[eluser]chuckleberry13[/eluser]
Oh wow, I never even knew PHP had DOM functions. That makes things different. Anybody else who didn't know this can go here to learn more - http://us.php.net/dom. I would assume most of the CI community knew this though. :red:




Theme © iAndrew 2016 - Forum software by © MyBB