The text field retains the previously used code. It would probably be better to prevent it. autocomplete="off" ??