Add required attribute for radio fields and selects #628