make forms closer to HTML specs by setting field attributes, etc
don't override required attribute for rendering the form initially