Generate a CodeIgniter "Form View" from a CSV input
Just an experiment in code generation
Format of input
Every line is a form field. The "columns" from left to right are:
- Field Name
- Field Type (text, radio, checkbox, select, textarea)
- Field Label
- CodeIgniter rules
- Special values. This is optional and used for select fields.