input for text and date