add input field into view