Rewrite input and textarea