Updates the validation functions to cover all expected use cases.
Code changes
ws-nextjs-app/pages/[service]/send/[id]/FormContext/utils/validateFunctions.ts updated to incorporate file validation logic.
ws-nextjs-app/pages/[service]/send/[id]/FormContext/index.tsx updated to propagate the validation data from the UGC api, so that this can be used by the validation functions.
Message codes added to match their respective morph translations.
Testing
List the steps used to test this PR.
Helpful Links
Add Links to useful resources related to this PR if applicable.
Resolves JIRA WSTEAM-1083
Overall changes
Updates the validation functions to cover all expected use cases.
Code changes
ws-nextjs-app/pages/[service]/send/[id]/FormContext/utils/validateFunctions.ts
updated to incorporate file validation logic.ws-nextjs-app/pages/[service]/send/[id]/FormContext/index.tsx
updated to propagate the validation data from the UGC api, so that this can be used by the validation functions.Testing
Helpful Links
Add Links to useful resources related to this PR if applicable.
Coding Standards
Repository use guidelines