Hi,
I need to select each column from table twice. One for form field and second for hidden form field.
in set_model I select:
{$this->table_name}.FIELD1, {$this->table_name}.FIELD1 AS ONE,
{$this->table_name}.FIELD2, {$this->table_name}.FIELD2 AS TWO,
{$this->table_name}.FIELD3, {$this->table_name}.FIELD3 AS THREE
Am I doing something wrong or set_model doesn't support column allias names?
Or maybe there is some othere way to achieve this?