diff --git a/website/src/components/Submission/DataUploadForm.tsx b/website/src/components/Submission/DataUploadForm.tsx index 534f39cf5..574c01c6b 100644 --- a/website/src/components/Submission/DataUploadForm.tsx +++ b/website/src/components/Submission/DataUploadForm.tsx @@ -283,6 +283,8 @@ const InnerDataUploadForm = ({ const [agreedToINSDCUploadTerms, setAgreedToINSDCUploadTerms] = useState(false); + const [confirmedNoPII, setConfirmedNoPII] = useState(false); + const isClient = useClientFlag(); const handleLoadExampleData = async () => { @@ -305,6 +307,13 @@ const InnerDataUploadForm = ({ return; } + if (!confirmedNoPII) { + onError( + 'Please confirm the data you submitted does not include restricted or personally identifiable information.', + ); + return; + } + if (!metadataFile) { onError('Please select metadata file'); return; @@ -437,7 +446,23 @@ const InnerDataUploadForm = ({ databases (ENA, DDBJ, NCBI).

)} -
+
+ +
+