Modified how html fields are output