diff --git a/src/applications/simple-forms/40-0247/pages/veteranSupportDocs.js b/src/applications/simple-forms/40-0247/pages/veteranSupportDocs.js index 61d6c65ce98c..b0b4e443cac1 100644 --- a/src/applications/simple-forms/40-0247/pages/veteranSupportDocs.js +++ b/src/applications/simple-forms/40-0247/pages/veteranSupportDocs.js @@ -1,6 +1,7 @@ import environment from 'platform/utilities/environment'; import { titleUI } from 'platform/forms-system/src/js/web-component-patterns/titlePattern'; +import { validateFileField } from 'platform/forms-system/src/js/validation'; import { FileField } from '../components/FileField'; import SupportingDocsViewField from '../components/SupportingDocsViewField'; @@ -44,6 +45,7 @@ export default { keepInPageOnReview: true, classNames: 'schemaform-file-upload', }, + 'ui:validations': !environment.isProduction() ? [validateFileField] : [], }, }, schema: {