Addred a required setting to the registration fields.