diff --git a/src/Form/SourceOverviewForm.php b/src/Form/SourceOverviewForm.php
index 1ba364b..6e28f26 100644
--- a/src/Form/SourceOverviewForm.php
+++ b/src/Form/SourceOverviewForm.php
@@ -153,10 +153,10 @@ class SourceOverviewForm extends FormBase {
    * {@inheritdoc}
    */
   public function validateForm(array &$form, FormStateInterface $form_state) {
-    /*if (!$form_state->getValue('values')) {
-      $form_state->setErrorByName('items', t("You didn't select any source objects"));
-    }*/
-    $plugin =  $form_state->get('plugin');
+    if (!$form_state->getValue('values')) {
+      $form_state->setError($form, t("You didn't select any source objects"));
+    }
+    $plugin = $form_state->get('plugin');
     $item_type = $form_state->get('item_type');
     // Execute the validation method on the source plugin controller.
     $source_ui = $this->sourceManager->createUIInstance($plugin);
diff --git a/src/Tests/TMGMTUiTest.php b/src/Tests/TMGMTUiTest.php
index 35a5365..969d80a 100644
--- a/src/Tests/TMGMTUiTest.php
+++ b/src/Tests/TMGMTUiTest.php
@@ -719,6 +719,10 @@ class TMGMTUiTest extends TMGMTTestBase {
     $this->assertNoText($job_items[5]->label());
     // One de item is in the cart as it was not selected for checkout.
     $this->assertText($job_items[6]->label());
+
+    // Check to see if no items are selected and the error message pops up.
+    $this->drupalPostForm('admin/tmgmt/sources', array(), t('Request translation'));
+    $this->assertUniqueText(t('No job items were selected.'));
   }
 
   /**
