[eluser]GSV Sleeper Service[/eluser]
set_value is doing that. it will set the value to whatever is in the current $_POST, if the name exists. it also looks at the validation values too, neat! The user guide doesn't mention this at all...
from the source code -
Code:
/**
* Form Value - this needs updating too, should be 'Set Value'
*
* Grabs a value from the POST array for the specified field so you can
* re-populate an input field or textarea. If Form Validation
* is active it retrieves the info from the validation class
*
* @access public
* @param string
* @return mixed
*/
take a look at system/helpers/form_helper.php to see what's going on.