diff --git a/CRM/Member/Form/MembershipType.php b/CRM/Member/Form/MembershipType.php index 3a5d4926bc93..958e79008c4c 100644 --- a/CRM/Member/Form/MembershipType.php +++ b/CRM/Member/Form/MembershipType.php @@ -92,15 +92,18 @@ protected function setEntityFields() { ], 'duration_interval' => [ 'name' => 'duration_interval', + 'required' => TRUE, ], 'duration_unit' => [ 'name' => 'duration_unit', 'description' => ts('Duration of this membership (e.g. 30 days, 2 months, 5 years, 1 lifetime)'), + 'required' => TRUE, ], 'period_type' => [ 'name' => 'period_type', 'description' => ts("Select 'rolling' if membership periods begin at date of signup. Select 'fixed' if membership periods begin on a set calendar date."), 'help' => ['id' => 'period-type', 'file' => "CRM/Member/Page/MembershipType.hlp"], + 'required' => TRUE, ], 'fixed_period_start_day' => [ 'name' => 'fixed_period_start_day',