Codeigniter - edit form (repopulating) with edit_unique
It seems that the edit_unique function, which is desribed here - Validating Uniqueness In CodeIgniter When Updating A Record , kills the set_value function. All works fine, which something like this... echo form_input('username', set_value('username',$user->username)); But when using the edit_unique validation, the value is empty after submitting the form. Post-Variables are ok and also the validation has no errors - but the value is not set. Any idea how I can fix that? Ok - found it myself. There was no return value in case of beeing true. Perhaps anyone faces the same problem... with this