# NGBVD Data Entry Cascade Resync Fix

Scope: functional JavaScript only. No UI/UX layout, styling, cards, spacing, navigation, colours or form design was changed.

Fixes:
- Reference Number (`crb_number`) is copied into the read-only Survivor Code (`survivor_code`) on input, paste, change and submit.
- Nationality Status (`nstatus`) cascades into Nationality Status Category (`ns_categornsy` / `nstatuscategory`) using `/findNSCategory`.
- The script is loaded directly from the data entry create and update pages, so it does not depend on whether the layout renders `@stack('scripts')`.
- The category select now has a stable `id="nstatuscategory"` while keeping the existing field name `ns_categornsy` for backend compatibility.
- Reporter Relationship remains required only when the reporter type is `Other`, preventing hidden browser validation from silently blocking submission.

Apply, clear cache and hard-refresh with Ctrl + F5.
