Skip to content

[Bug]: Validation missing for Date Range; End Date can be set before Start Date in Deadline of registration #5740

@kishorprajapati1212

Description

@kishorprajapati1212

Description

There is a lack of logical validation in the date selection inputs in Registration in Splash Programs. Currently, the system allows a user to select and save an End Date that chronologically occurs before the Start Date.

Steps to Reproduce

  1. Navigate to the ESP manage/Splash/2007/deadlines page.
  2. Select a Start Date (e.g., 4/20/2026).
  3. Select an End Date that is earlier than the Start Date (e.g., 04/01/2026).
  4. Click "Save" or "Submit."

Expected Behavior

The system should trigger a validation error (e.g., "End Date cannot be earlier than Start Date") and prevent the form from being submitted or saved to the database.

Actual Behavior

The system accepts the input and successfully saves the invalid date range without any warnings or errors.

Screenshots

20260420-1312-12.0695370.mp4

Operating System

No response

Browser

No response

Contribution Intent

@willgearty I would like to collaborate with a maintainer or another contributor to fix this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions