Replace text input with hidden input.