Make field type required for field definition, hide unused fields