I\'ve checked and re-checked my code, referencing the CI docs and other posts throughout the web, but I am unsuccessful at implementing the set_value() method for re-populat
if you want to use set_data()
you need to also use set_rules
for that POST/GET field.
Since you've commented out all your set_rules I can not confirm that this is the issue but most likely it is.
please check if you have this line in your code
$this->form_validation->set_rules('fname', 'First name', 'trim|required');
So if you want to re-populate field with name="fname"
you need to have set_rules() // as line above
for it otherwise it won't process therefore set_value('fname')
is empty.