Added password and submit fields to field() method