adding some better formatting for input fields like required / date / int