Adds support for both input,textarea elements.