The problem:
Create custom forms, and fields. Manage the Data;
I`m creating an CMS with PHP and Codeigniter. My client will need manage the form fields by itself. Because they can change... today will be around 20 fields. But next month will be 23.
I know how to make a logic to create the forms. But how can i manage the data?
Serialize the data and save in one field on table, will not be helpfull i think, because, how can i do a quick search/filter in table in serialized data?
Someone already got this problem? Maybe can help me build a small logic here to get a way to work.
Just in case someone asks, with Codeigniter, I`m able to do something like this:
$formData = $this->input->post();
and get something like this:
$formData = array(
[fieldName] = 'Value',
[fieldName2] = 'Value 2'
[fieldName3] = 'Value 3'
);
So get the data, was easy.