Follow-up Date Validation Missing & Submit Button Not Disabled After Completion

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • 1.1
    • Affects Version/s: None
    • None

      Multiple issues observed in the Follow-up module related to validation, submission, and button behavior:

      1. Follow-up Date Validation Missing:
      • System not not submitting form when follow up date is same as Last follow up date not showing error.
      • No validation error message is displayed.

            2. Submit Button Behavior Issue (Post Completion):

      • After completing full 6-month follow-up cycle, Submit button remains visible and active.
      • It should be disabled or hidden to prevent duplicate/invalid entries.

      Steps to Reproduce:

      1. Open a confirmed TB beneficiary.
      2. Navigate to Follow-up module.
      3. Enter follow-up date same as last follow-up date.
      4. Fill remaining details and click Submit.
      5. Observe submission behavior.
      6. Complete follow-ups up to 6 months.
      7. Check Submit button visibility.

      Expected Result:

      • Follow-up date should be strictly greater than last follow-up date.
      • Proper validation error should be shown for invalid date.
      • Form should submit successfully when all fields are valid.
      • Submit button should be disabled/hidden after completing 6-month follow-up cycle.

      Actual Result:

      • No validation shown for invalid follow-up date.
      • Form is not getting submitted.
      • No error message displayed.
      • Submit button remains active even after completion.

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

                Created:
                Updated:
                Resolved: