Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFDIV-4344: Add logic to prevent submission with missing required fields #4057

Merged
merged 7 commits into from
Apr 1, 2025

Conversation

FaisalMoJ
Copy link
Contributor

Change description

Add logic to prevent submission with missing required fields

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/NFDIV-4344

Before merging a pull request make sure that:

  • tests have been updated / new tests has been added (if needed)
  • README and other documentation has been updated / added (if needed)

If this ticket will have any visible impact on users and is not behind a feature toggle, make sure that:

  • this ticket been reviewed by QA
  • the user story been signed off by the PO

Note that bug fixes, dependency updates and technical tasks do not directly impact the user experience and can be merged without QA and PO review.

If this user story cannot be immediately merged find a way to put it behind a feature toggle and get it merged.

req.session.userCase.applicant1ConfirmInformationStillCorrect !== YesOrNo.YES &&
isEmpty(req.session.userCase.applicant1ReasonInformationNotCorrect)
) {
res.redirect(REVIEW_YOUR_JOINT_APPLICATION);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to use a different URL for applicant 1 in sole cases, as they won't have REVIEW_YOUR_JOINT_APPLICATION?

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 24, 2025
Copy link

This issue has been automatically closed because it has been stalled for 2 days with no activity.

@github-actions github-actions bot closed this Feb 27, 2025
@FaisalMoJ FaisalMoJ reopened this Mar 26, 2025
@FaisalMoJ FaisalMoJ enabled auto-merge (squash) April 1, 2025 12:18
@FaisalMoJ FaisalMoJ merged commit bf5cbe5 into master Apr 1, 2025
3 checks passed
@FaisalMoJ FaisalMoJ deleted the NFDIV-4344 branch April 1, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants