diff --git a/packages/design/src/config/view/SubmissionConfirmation/index.tsx b/packages/design/src/config/view/SubmissionConfirmation/index.tsx
index 33da21b5..bd771687 100644
--- a/packages/design/src/config/view/SubmissionConfirmation/index.tsx
+++ b/packages/design/src/config/view/SubmissionConfirmation/index.tsx
@@ -11,24 +11,59 @@ const SubmissionConfirmation: FormElementComponent<
-
-
-
- Field |
- Value |
-
-
-
- {pattern.table.map((row, index) => {
- return (
-
- {row.label} |
- {row.value} |
+
+
+
Submission complete
+
+ Thank you for submitting your filing. Your document package has been
+ auto-downloaded.
+
+
+
+ Next steps:
+
+
+ - Review your document package for accuracy
+ - Print your document package
+ - Follow the instructions on the first page of your package
+
+
+
+
+
+
+
+
+
+
+ Form field |
+ Provided value |
- );
- })}
-
-
+
+
+ {pattern.table.map((row, index) => {
+ return (
+
+ {row.label} |
+ {row.value} |
+
+ );
+ })}
+
+
+
+
>
);
};
diff --git a/packages/forms/src/config/elements/form-summary.ts b/packages/forms/src/config/elements/form-summary.ts
index 4056510a..c1181189 100644
--- a/packages/forms/src/config/elements/form-summary.ts
+++ b/packages/forms/src/config/elements/form-summary.ts
@@ -31,7 +31,7 @@ export const formSummaryConfig: FormElementConfig = {
type: 'form-summary',
title: element.data.title,
description: element.data.description,
- } as FormSummaryPattern,
+ } as Pattern,
children: [],
};
},
diff --git a/packages/forms/src/pattern.ts b/packages/forms/src/pattern.ts
index d06bffec..7657ee57 100644
--- a/packages/forms/src/pattern.ts
+++ b/packages/forms/src/pattern.ts
@@ -80,14 +80,20 @@ export const createPrompt = (
pattern: {
_elementId: 'submission-confirmation',
type: 'submission-confirmation',
- table: Object.entries(session.data.values).map(
- ([elementId, value]) => {
+ table: Object.entries(session.data.values)
+ .filter(([elementId, value]) => {
+ const elemConfig = getFormElementConfig(
+ config,
+ session.form.elements[elementId].type
+ );
+ return elemConfig.acceptsInput;
+ })
+ .map(([elementId, value]) => {
return {
- label: session.form.elements[elementId].id,
+ label: session.form.elements[elementId].data.label,
value: value,
};
- }
- ),
+ }),
} as Pattern,
children: [],
},