[eluser]wiredesignz[/eluser]
I re-write the validation rule for editing.
for adding a new user I have default rules:
Code:
$rules['username'] => 'trim|required|callback_is_unique[username]';
$rules['email'] => 'trim|required|callback_is_unique[email]';
which I then re-write before editing with the same form:
Code:
$rules['username'] => '';
I disable the username input so it can't be changed. but email is_unique is still checked from the previous setting.
YMMV ... Just alter the rules for your situation.