[eluser]Huan[/eluser]
Thanks everybody. Actually I was using only one form for both creating and updating the data, so the preloaded data is different each time. With the old (current) validation class, I could use something like this:
<input type="text" name="title" value="<?=$this->validation->title?>" />
When I CREATE data, I don't need to set the value at first load, because $this->validation->title == blank
When I UPDATE data, I set the value at first load: $this->validation->title = $q->row()->title (pulled from database)
Data posted back in both cases returns the correct value. <?=$this->validation->title?> works well every time.
When I change to the new form_validation class, I can no longer do it. Setting $this->form_validation->title = $title results in an error. I found that I could use <?=set_value('title', $default_title)?> by assigning a value to $default_title at first load each time. But I was just wondering if this is the best way to do it.