[eluser]devbro[/eluser]
If you have the following form:
<input type='text' name='a1' value='<?=set_value('a1')?>' />
<input type='text' name='a2' value='<?=set_value('a2')?>' />
<input type='text' name='a3' value='<?=set_value('a3')?>' />
and the following validations:
Code:
$this->form_validation->set_rules('a1', 'Message', 'trim|required|min_length[10]');
if($this->form_validation->run())
then set_value() will return nothing for a2 and a3.