Data Integrity - Blank Values
Not Started

User Story:
As a GreenGuardian CRM Director, I want the system to enforce validations that prevent users from saving a garden record with essential fields blank, to ensure the logical consistency and accuracy of the data.

Acceptance Criteria:

  • If Total Plant Count is greater than zero, the system must not allow blank values for Maximum Plant Count and Minimum Plant Count.
  • An attempt to leave these fields blank should prompt an error message: "Maximum and Minimum Plant Count fields cannot be blank when there are plants in the Garden."