i have a form that uses a drop down and im using codeigniter , form helper and form validation so when i get a validation error in my form , all the correctly entered fields
'Active', 'inactive' => 'Inactive', ); echo form_dropdown('mid', $options,$id_map, ' id="mid"'); ?>