diff --git a/app/value_objects/current_queens_award.rb b/app/value_objects/current_queens_award.rb index b8292f6a9b..d0dbcc0df4 100644 --- a/app/value_objects/current_queens_award.rb +++ b/app/value_objects/current_queens_award.rb @@ -6,7 +6,9 @@ class CurrentQueensAward attr_reader :categories, :years, :category, :year, :outcome, :outcomes - validates :category, :year, :outcome, presence: true + validates :category, presence: { message: "Category is required and an option must be selected from the following list" } + validates :year, presence: { message: "Year is required and an option must be selected from the following list" } + validates :outcome, presence: { message: "Outcome is required and an option must be selected from the following list"} validates :category, length: { maximum: 100 }, inclusion: {