Added required attributes to forms