added check for TEXTAREA.