Change input types and required field