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
It's because you have to use the set_select() function , not the set_value();
You can check that here: http://codeigniter.com/user_guide/helpers/form_helper.html
And the right syntax:
EDIT :
If you have a default value, that should go in the 2. parameter for set_select.
I hope this will work.