set title for text and textarea