Added required attribute to form fields