Missing Age Validation Between Parent and Child During Registration

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • 2.0
    • Affects Version/s: None
    • None
    • STOP TB Sprint 5

      The application currently allows registering a child (Son/Daughter) with an age greater than or equal to the parent’s age, which is logically incorrect.

      For example:

      • Parent age: 45 years
      • Child age entered: 46+ years
      • System allows submission without any validation

      Steps to Reproduce:

      1. Register a Household / Parent (Father/Mother) with age (e.g., 45 years)
      2. Add a Family Member as Son/Daughter
      3. Enter age greater than parent (e.g., 50 years)
      4. Submit the form

      Expected Result:

      • System should validate age relationship:
        • Child’s age must always be less than parent’s age
      • Proper validation message should be shown (e.g., “Child age cannot be greater than or equal to parent age”)
      • Submission should be restricted

      Actual Result:

      • System allows invalid age entry
      • No validation or error message is displayed

              Assignee:
              Nidhi Saini
              Reporter:
              Nidhi Saini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: