CodeIgniter Forums
Auto Generate Form Fields - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Auto Generate Form Fields (/thread-33887.html)

Auto Generate Form Fields - El Forum - 09-11-2010

I've added my first contribution to the wiki, and I'm anxious to see what you guys think.

It's a form helper which creates your form fields based on your db table fields with little (if any) configuration required. It's certainly not perfect, and may be a bit too tailored to my own needs, but I'm sure some of you will find it of use.

Suggestions for improvement are eagerly anticipated.

Note: you might think of this as the opposite of using something like Doctrine, which generates your database tables/fields for you. I haven't quite warmed up to that yet, and have created this as an alternative.