[eluser]absurdparadox[/eluser]
Hmm, you've lost me a little.
I'm not using anything called set_value(), unless its part of the functionality when the validation class sets the "$this->validation->whatever" variables based on the form inputs.
That above is what I'm using in all of my form... for example, a text area will look like:
Code:
<textarea name="mytextarea"><?php echo $this->validation->mytextarea?></textarea>
I'm loading up $this->validation->[var]'s on the first loading of the form (from a database query), but then using the same variables as a return from validation.
Now, this my be some poor methodology, but its what I came up with early in the project, when I first started to dive into CodeIgniter, which I decided to do because I didn't know PHP at the time (though I am very familiar with web app dev in other languages).
So, the problem lies in the fact that if the validation functions run, and its successful, all is fine, and it doesn't rewrite all the html special-chars, and inserts them into the database. However, if validation fails, it does change all the html special chars into their encoded equivalents.
As I said, I'll just code around it, but I think maybe either there's something I'm missing here, lol