added required to text fields in html