Added 'required' attributes to fields

HTML5 magic happens.